git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2245
7612ce4b-ef26-0410-bec9-
ea0150e637f0
* prefkey char / key
* prefval blob
*
* prefkey char / key
* prefval blob
*
- * CREATE TABLE userprefs (user CHAR(32) NOT NULL DEFAULT '',
+ * CREATE TABLE userprefs (user CHAR(128) NOT NULL DEFAULT '',
* prefkey CHAR(64) NOT NULL DEFAULT '',
* prefval BLOB NOT NULL DEFAULT '',
* primary key (user,prefkey));
* prefkey CHAR(64) NOT NULL DEFAULT '',
* prefval BLOB NOT NULL DEFAULT '',
* primary key (user,prefkey));
function setPref($data_dir, $username, $string, $set_to) {
global $prefs_cache;
function setPref($data_dir, $username, $string, $set_to) {
global $prefs_cache;
- if (isset($prefs_cache[$string]) && ($prefs_cache[$string] == $value)) {
+ if (isset($prefs_cache[$string]) && ($prefs_cache[$string] == $set_to)) {