projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Carried over modification made to file_prefs to distinguish
[squirrelmail.git]
/
functions
/
db_prefs.php
diff --git
a/functions/db_prefs.php
b/functions/db_prefs.php
index 3708441dac832583a3940c7b3b4e595e663ece04..ef96837d4a0c7915deadd1e6286461431b24b7ee 100644
(file)
--- a/
functions/db_prefs.php
+++ b/
functions/db_prefs.php
@@
-298,10
+298,10
@@
function setPref($data_dir, $username, $string, $set_to) {
global $prefs_cache;
if (isset($prefs_cache[$string]) && ($prefs_cache[$string] == $set_to)) {
-
return;
+ return;
}
- if ($set_to == '') {
+ if ($set_to ==
=
'') {
removePref($data_dir, $username, $string);
return;
}