Fix for 'Other Settings' which won't save
authorRoland Häder <roland@mxchange.org>
Thu, 28 Aug 2008 15:12:18 +0000 (15:12 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 28 Aug 2008 15:12:18 +0000 (15:12 +0000)
inc/modules/admin/what-config_other.php

index 72e13ea..2421b01 100644 (file)
@@ -56,7 +56,7 @@ if (isset($_POST['ok'])) {
        }
 
        // Online-Timeout shall be > 0 or your database will crow and crow and crow...
-       if (!isset($_POST['online_timeout']))         { unset($_POST['ok']); }
+       if (!isset($_POST['online_timeout']))        { unset($_POST['ok']); }
 
        // Chedck other timestamps (which can be zero!)
        if (!isset($_POST['profile_lock']))          { unset($_POST['ok']); }
@@ -66,8 +66,6 @@ if (isset($_POST['ok'])) {
 
        // Check other settings
        if (!isset($_POST['max_send']))              { unset($_POST['ok']); }
-       if (!isset($_POST['max_tlength']))           { unset($_POST['ok']); }
-       if (!isset($_POST['unconfirmed']))           { unset($_POST['ok']); }
        if (!isset($_POST['code_length']))           { unset($_POST['ok']); }
        if (!isset($_POST['reject_url']))            { unset($_POST['ok']); }
 }