[imp] saving sig_first pref doesn't seem to work
Martín Marqués
martin@bugs.unl.edu.ar
Wed, 14 Nov 2001 11:15:53 -0300
On Mar 13 Nov 2001 16:05, you wrote:
> Okay, I've figured out why it's doing it.
>
> If you "uncheck" sig_first, the table update (I'm using mysql) doesn't
> set it to 0, it sets it to NULL. I didn't dig the code deep enough to
> figure out why it's not setting it to 0.
>
> Then, in horde/lib/Identity.php, under getValue, it has:
>
> function getValue($key, $identity = null) {
> global $prefs;
> if (!isset($identity) || !isset($this->identities[$identity])) {
> $identity = $this->default;
> }
> ....
>
> Since the value is NULL, it's not set, so it gets the default, which
> we had changed to 1 in our imp/config/prefs.php file.
Jan, did you check this out?
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------