]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/doubler_functions.php
Duplicate message id GUEST_GENDER removed, column type TIMESTAMP in ext-sponsor,
[mailer.git] / inc / libs / doubler_functions.php
index a374d0a42d7a0a4c4f287e740506d50bdf9daa62..4b550e706d5e7c924225dca0d0399c69edc4c978 100644 (file)
@@ -47,7 +47,7 @@ if (!defined('__SECURITY')) {
 function generateDoublerTable ($userid = '0', $done = 'N', $ref = 'N', $sort = 'ASC') {
        if (empty($cnt)) $cnt = '0';
        $add = ''; $DT_MODE = '0';
-       if ($userid > 0) {
+       if (isValidUserId($userid)) {
                // Load entries only from a single user
                $add = sprintf(" AND `userid`=%s", bigintval($userid));
                $mode = 'member'; $COLS = 4; $DT_MODE = 2;