X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-list_refs.php;h=8179b6a384602e0f9fc2a092d0d740c30ca0d343;hb=101e5f161c0c367c022c9288398226a57f3919d7;hp=6ec64e04fc26ba0a868b6935daf069c38d5d95b0;hpb=305141b6b5b656e0fb10505e5ae66fdc0ce2e391;p=mailer.git diff --git a/inc/modules/admin/what-list_refs.php b/inc/modules/admin/what-list_refs.php index 6ec64e04fc..8179b6a384 100644 --- a/inc/modules/admin/what-list_refs.php +++ b/inc/modules/admin/what-list_refs.php @@ -80,7 +80,7 @@ ORDER BY // Is the refback still active? ;-) if (isExtensionActive('refback')) { // Load all refs of this user - $result_refs = SQL_QUERY_ESC("SELECT `refid` FROM `{?_MYSQL_PREFIX?}_user_refs` WHERE `userid`=%s AND `level`='%s' ORDER BY refid ASC", + $result_refs = SQL_QUERY_ESC("SELECT `refid` FROM `{?_MYSQL_PREFIX?}_user_refs` WHERE `userid`=%s AND `level`=%s ORDER BY `refid` ASC", array($userid, $levels['level']), __FILE__, __LINE__); //* DEBUG: */ debugOutput($userid.'/'.$levels['level'].'/'.SQL_NUMROWS($result_refs));