projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3e33a07
)
Bug 6240 : pass a hash to template not a scalar
author
Colin Campbell
<colin.campbell@ptfs-europe.com>
Thu, 21 Apr 2011 19:32:34 +0000
(20:32 +0100)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Thu, 21 Apr 2011 19:42:03 +0000
(07:42 +1200)
As subscription info was passed as a scalar hashref
template could not access any of the data contained therein
esp Bib and Vendor ids
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
serials/subscription-add.pl
patch
|
blob
|
history
diff --git
a/serials/subscription-add.pl
b/serials/subscription-add.pl
index
dbda323
..
7fcccdf
100755
(executable)
--- a/
serials/subscription-add.pl
+++ b/
serials/subscription-add.pl
@@
-101,7
+101,7
@@
if ($op eq 'mod' || $op eq 'dup' || $op eq 'modsubscription') {
}
}
- $template->param(
$subs
);
+ $template->param(
%{$subs}
);
$template->param("dow".$subs->{'dow'} => 1) if defined $subs->{'dow'};
$template->param(
$op => 1,