If so, this would be a catastrophically bad behavior.  Nothing could be
disabled once edited.

On Fri, Jul 2, 2010 at 9:26 AM, Paul Poulain <[email protected]>wrote:

> Hi the list,
>
> 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 ?
>
> --
> Paul POULAIN
> http://www.biblibre.com
> Expert en Logiciels Libres pour l'info-doc
> Tel : (33) 4 91 81 35 08
>
>
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel

Reply via email to