Fixes for wrong config entries
[mailer.git] / inc / modules / admin / what-autopurge.php
index cb1e91f1d9d7a90e05aec04e1a4ecc9e362cbe6b..54d22e21a3c2c27cd2268dd2412d45df476720b3 100644 (file)
@@ -45,12 +45,12 @@ if (isset($_POST['ok'])) {
        ADMIN_SAVE_SETTINGS($_POST);
 } else {
        // Setup constants for the template
-       switch ($_CONFIG['ap_inactive'])
+       switch ($_CONFIG['autopurge_inactive'])
        {
                case 'Y': define('__YES_IN', " checked"); define('__NO_IN', "");         break;
                case 'N': define('__YES_IN', "");         define('__NO_IN', " checked"); break;
        }
-       switch ($_CONFIG['ap_unconfirmed'])
+       switch ($_CONFIG['autopurge_unconfirmed'])
        {
                case 'Y': define('__YES_UN', " checked"); define('__NO_UN', "");         break;
                case 'N': define('__YES_UN', "");         define('__NO_UN', " checked"); break;