Fixes/rewrites for 'dublicate entry' bug
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index baa56db400d3bcd501627431b93a8317386ca4b3..8871ffdbda85ffe9d4a2334fc3ef61533f23aab3 100644 (file)
@@ -46,7 +46,7 @@ if ((!EXT_IS_ACTIVE("autopurge")) || (getConfig('auto_purge_active') != "Y")) {
 // Shall I auto-purge unconfirmed accounts?
 if (getConfig('autopurge_unconfirmed') == "Y") {
        // Init variables and find unconfirmed accounts which I shall auto-purge
-       $time = bigintval(getConfig('ap_un_time'));
+       $time = getConfig(('ap_un_time'));
        $result_uncon = SQL_QUERY_ESC("SELECT userid, email, joined
 FROM `{!_MYSQL_PREFIX!}_user_data`
 WHERE `status`='UNCONFIRMED' AND joined < (UNIX_TIMESTAMP() - %s)