]> git.koha-community.org Git - koha.git/commit
Do not declare variables within (bogus) conditionals
authorColin Campbell <colin.campbell@ptfs-europe.com>
Sun, 9 May 2010 14:58:52 +0000 (15:58 +0100)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 11 May 2010 10:07:19 +0000 (06:07 -0400)
commit1d014b4e3974bec28b7ac12e57d0679b71089b94
treeec60696f87bb19cbc8efe8b02eda1e9394112227
parentfcb8469d188c7deb10ac2c1444d56f520c297e8c
Do not declare variables within (bogus) conditionals

if $index is unnecessary as we have made this true 5 lines above
variables should not be declared in conditionals if used outside of them
set $struct_attr to a sensible default to avoid generating warnings
in this assigment and elsewhere

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Search.pm