fix bug #481886 with anonymous hint from sourceforge trackers :-)
[squirrelmail.git] / src / options.php
index 44eb86df029974d503d09ecdcc88e58723ef0605..91503a708f0a7796bb4ffaf79ae63c944486ac80 100644 (file)
@@ -34,7 +34,7 @@ if (isset($language)) {
 /*** Build the resultant page. ***/
 /*********************************/
 
-displayPageHeader($color, _("None"));
+displayPageHeader($color, 'None');
 
 define('SMOPT_MODE_DISPLAY', 'display');
 define('SMOPT_MODE_SUBMIT', 'submit');
@@ -54,9 +54,11 @@ function process_optionmode_submit($optpage, $optpage_data) {
     /* Save each option in each option group. */
     foreach ($optpage_data['options'] as $option_grp) {
         foreach ($option_grp['options'] as $option) {
+            /* Remove Debug Mode Until Needed
             echo "name = '$option->name', "
                . "value = '$option->value', "
                . "new_value = '$option->new_value'<BR>\n";
+            */
             if ($option->changed()) {
                 $option->save();
                 $max_refresh = max($max_refresh, $option->refresh_level);