]> git.koha-community.org Git - koha.git/commit
Bug 21503: Restore existing ternary operator logic
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Mar 2020 10:04:28 +0000 (11:04 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 11:30:08 +0000 (11:30 +0000)
commitb1c6d14d14951ace480667d778e88013460c059e
tree76635b6be81642419df6a9f40cacec4a7ee5bf56
parent1e90641cd64e42b10079e75f092f63ee6f6281a4
Bug 21503: Restore existing ternary operator logic

This syntax is much more readable IMO. Precendent patch also missed the
case where the parameter was undef.
I think we are good now.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Template/Plugin/AuthorisedValues.pm
t/db_dependent/Template/Plugin/AuthorisedValues.t