[Koha-bugs] [Bug 13240] advanced_notices.pl contains code obfuscation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 19 09:16:25 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13240
--- Comment #6 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 35361
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=35361&action=edit
Bug 13240: Remove some code obfuscation
my $bar;
my $foo = $bar->{borrowernumber} ||= {};
$foo->{one} ||= 'something';
$foo->{two}++;
What does $bar contain?
$VAR1 = {
'borrowernumber' => {
'two' => 1,
'bar' => 'something'
}
};
Not really obvious.
Maybe something I did not see is hidden.
Test plan:
Verify the digest for DUE and PREDUE work as before.
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list