[Koha-devel] preferences.pl problems

Galen Charlton gmcharlt at gmail.com
Fri Jul 2 18:57:20 CEST 2010


Hi,

On Fri, Jul 2, 2010 at 9:26 AM, Paul Poulain <paul.poulain at biblibre.com> wrote:
> I have found (and it has not been reported yet AFAIK) that the YesNo
> sysprefs are now store as 'yes' or 'no', no more as '1' or '0'
> It means that the user checks "no", 'no' is stored in the syspref, and,
> as most of the code contains
>> if C4::Context->preference('syspref') { do something }
>
> it's always evaluated as "true".
>
> Is it a problem others have seen or is it me ?

I have not seen this in HEAD.  More details, please.

Regards,

Galen
-- 
Galen Charlton
gmcharlt at gmail.com


More information about the Koha-devel mailing list