initial_value on display, instead of the users' value.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10907
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Added new color themes by Jeremy Landes, Tammi Maggard and Lucas Austin-Howe
(#1378332), (#1377567), (#1377529), (#1377528), (#1377527), (#1377526),
(#1377525), (#1393188).
-
+ - Issue loading options page always loaded the prefs
+ initial_value on display, instead of the users' value.
Version 1.5.1 (branched on 2006-02-12)
--------------------------------------
$this->post_script = '';
/* Check for a current value. */
- if (!empty($initial_value)) {
- $this->value = $initial_value;
- } else if (isset($GLOBALS[$name])) {
+ if (isset($GLOBALS[$name])) {
$this->value = $GLOBALS[$name];
+ } else if (!empty($initial_value)) {
+ $this->value = $initial_value;
} else {
$this->value = '';
}
}
// vim: et ts=4
-?>
\ No newline at end of file
+?>