[Koha-bugs] [Bug 18226] Remove "use Test::DBIx::Class" instantiations' dangerous code duplication
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed May 24 14:05:53 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18226
--- Comment #19 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #18)
> The comparaison
> $libCount = Koha::Libraries->search->count
> does not work when there is no libraries defined (0 vs undef)
Hmm. I think it is an assignment, not an comparison. Both 0 and undef will be
interpreted as false by ok. (Note that I am not the author.)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list