Changes on 18 August to functions.php were intended to correct issue with the $icon_t...
[squirrelmail.git] / functions / options.php
index 8175f0bf5368bfed9d53d9a1fb759a1cae41ec0f..7b60af67ea5b414d51ad394437ac07a85b677bf0 100644 (file)
@@ -175,11 +175,11 @@ class SquirrelOption {
         $this->script = '';
         $this->post_script = '';
 
-        /* Check for a current value. */
-        if (!empty($initial_value)) {
-            $this->value = $initial_value;
-        } else if (isset($GLOBALS[$name])) {
+        //Check for a current value.  
+        if (isset($GLOBALS[$name])) {
             $this->value = $GLOBALS[$name];
+        } else if (!empty($initial_value)) {
+            $this->value = $initial_value;
         } else {
             $this->value = '';
         }
@@ -734,4 +734,3 @@ function OptionSubmit( $name ) {
 }
 
 // vim: et ts=4
-?>
\ No newline at end of file