projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66d4eb
)
bug fixed: toggle was not working anymore in itemtypes management screen due
author
plg
<plg>
Fri, 7 Apr 2006 11:13:15 +0000
(11:13 +0000)
committer
plg
<plg>
Fri, 7 Apr 2006 11:13:15 +0000
(11:13 +0000)
to previous commit.
admin/itemtypes.pl
patch
|
blob
|
history
diff --git
a/admin/itemtypes.pl
b/admin/itemtypes.pl
index
a00c713
..
bd2b602
100755
(executable)
--- a/
admin/itemtypes.pl
+++ b/
admin/itemtypes.pl
@@
-232,7
+232,7
@@
UPDATE itemtypes
my @loop;
foreach my $result (@{$results}[$first .. $last]) {
my $itemtype = $result;
- $itemtype->{toggle} = ($toggle eq 0 ? 1 : 0);
+ $itemtype->{toggle} = ($toggle
++%2
eq 0 ? 1 : 0);
$itemtype->{imageurl} =
getitemtypeimagesrcfromurl($itemtype->{imageurl});
$itemtype->{rentalcharge} = sprintf('%.2f', $itemtype->{rentalcharge});