X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fdoubler_functions.php;h=4b550e706d5e7c924225dca0d0399c69edc4c978;hb=80e58992300c82cf317ca2ed05efdeccb22ce202;hp=a374d0a42d7a0a4c4f287e740506d50bdf9daa62;hpb=83b592ec7b67258426acab646f682830ce9128c7;p=mailer.git diff --git a/inc/libs/doubler_functions.php b/inc/libs/doubler_functions.php index a374d0a42d..4b550e706d 100644 --- a/inc/libs/doubler_functions.php +++ b/inc/libs/doubler_functions.php @@ -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;