]> git.koha-community.org Git - koha.git/commit
if() incorrectly eval-ing syspref value 'FALSE' as true, wrapping in boolean.
authorMason James <mtj@liblime.com>
Mon, 29 Oct 2007 06:22:03 +0000 (01:22 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 29 Oct 2007 21:06:09 +0000 (16:06 -0500)
commitfda72bf787a3d794899e4a2c1f4e86a9cabe021c
tree0f75dada3a2bf199556a5f5dc1457c87e4ba5e3f
parent2c6a214588b97318ad5c6024552284dbf3c6e417
if() incorrectly eval-ing syspref value 'FALSE' as true, wrapping in boolean.

if (C4::Boolean::true_p(C4::Context->preference("autoBarcode")) != 0 )

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
serials/serials-edit.pl