Carried over modification made to file_prefs to distinguish
authorebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 17 Dec 2002 20:36:23 +0000 (20:36 +0000)
committerebullient <ebullient@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 17 Dec 2002 20:36:23 +0000 (20:36 +0000)
commitbce23c8671085e00f439f666fbf035a0c4fd7b09
tree9e75fa537e33368aa6b3c61bac9082785d1fa6b3
parentf31687f676e7f2e695593f04730902cef5335a9d
Carried over modification made to file_prefs to distinguish
between a 0 value, and an unset value using ===.

Certain prefs were unsaveable after the XSS changes, which
cast zero values to ints (instead of strings), causing
them to pass the $set_to == '' check, and thus be treated
as an unset value, rather than a value of 0.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4280 7612ce4b-ef26-0410-bec9-ea0150e637f0
functions/db_prefs.php