[Koha-bugs] [Bug 13240] advanced_notices.pl contains code obfuscation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 12 12:29:08 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13240

--- Comment #1 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 33478
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33478&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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list