projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added "Themes" to personal preferences
[squirrelmail.git]
/
functions
/
prefs.php
diff --git
a/functions/prefs.php
b/functions/prefs.php
index 7253092b22cee9715f7cbead96013c28f90e86c3..5a2a89d45059eab6ceb4f92632484ca36994ba72 100644
(file)
--- a/
functions/prefs.php
+++ b/
functions/prefs.php
@@
-15,7
+15,7
@@
$pref = fgets($file, 1024);
if (substr($pref, 0, strpos($pref, "=")) == $string) {
fclose($file);
- return
substr($pref, strpos($pref, "=")+1
);
+ return
trim(substr($pref, strpos($pref, "=")+1)
);
}
}
fclose($file);