]> git.mxchange.org Git - mailer.git/blobdiff - inc/autopurge/purge-unconfirmed.php
Fixed EL code inside EL code seems to be broken:
[mailer.git] / inc / autopurge / purge-unconfirmed.php
index 8b94274b75729e405f02e013272ad48cdb8993e9..0ef7d7ef076f4be944d909190634f9704862de8f 100644 (file)
@@ -59,10 +59,10 @@ WHERE
        `status`='UNCONFIRMED' AND `joined` < (UNIX_TIMESTAMP() - {?ap_unconfirmed_time?})
 ORDER BY
        `userid` ASC", __FILE__, __LINE__);
-       if (SQL_NUMROWS($result_uncon) > 0) {
+       if (!SQL_HASZERONUMS($result_uncon)) {
                // Prepare variable...
                $userids = '';
-               $content['time'] = (getConfig('ap_unconfirmed_time')  / 60 / 60);
+               $content['time'] = (getApUnconfirmedTime()  / 60 / 60);
 
                // Delete inactive accounts
                while ($row = SQL_FETCHARRAY($result_uncon)) {