X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-autopurge.php;h=01c61e81ef351abe6bcc3232a19384a461f5e6da;hp=4d129d45e8a998290caa705b526fa507081de7cb;hb=d999908fdb7fdf8884356331e2ffe044cfff273d;hpb=75ad748a68473ace540251427a74fb781b1145e9 diff --git a/inc/modules/admin/what-autopurge.php b/inc/modules/admin/what-autopurge.php index 4d129d45e8..01c61e81ef 100644 --- a/inc/modules/admin/what-autopurge.php +++ b/inc/modules/admin/what-autopurge.php @@ -47,19 +47,19 @@ if (isset($_POST['ok'])) else { // Setup constants for the template - switch ($CONFIG['ap_inactive']) + switch ($_CONFIG['ap_inactive']) { - case "Y": define('__YES_IN', " checked"); define('__NO_IN', ""); break; - case "N": define('__YES_IN', ""); define('__NO_IN', " checked"); break; + 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['ap_unconfirmed']) { - case "Y": define('__YES_UN', " checked"); define('__NO_UN', ""); break; - case "N": define('__YES_UN', ""); define('__NO_UN', " checked"); break; + case 'Y': define('__YES_UN', " checked"); define('__NO_UN', ""); break; + case 'N': define('__YES_UN', ""); define('__NO_UN', " checked"); break; } - define('__AP_IN_SINCE', $CONFIG['ap_in_since']); - define('__AP_IN_TIME' , $CONFIG['ap_in_time']); - define('__AP_UN_TIME' , $CONFIG['ap_un_time']); + define('__AP_IN_SINCE', $_CONFIG['ap_in_since']); + define('__AP_IN_TIME' , $_CONFIG['ap_in_time']); + define('__AP_UN_TIME' , $_CONFIG['ap_un_time']); // Output template LOAD_TEMPLATE("admin_config_autopurge");