X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fpool%2Fpool-user.php;h=96b1280cbde6e427871b06109c6158ed358bfd0a;hb=77cdaff2afb97ed32985ced906a3a95ee078c2ef;hp=99e50f68452af90ff99e01cee3ab282f571615e6;hpb=5bdeaf8b452206598b6c6cd4f941145b11a0eccc;p=mailer.git diff --git a/inc/pool/pool-user.php b/inc/pool/pool-user.php index 99e50f6845..96b1280cbd 100644 --- a/inc/pool/pool-user.php +++ b/inc/pool/pool-user.php @@ -301,7 +301,7 @@ if (SQL_NUMROWS($result_main) > 0) { ); // We have to pay back some points to the sender (we add them directly :-P) - $result = SQL_QUERY_ESC("SELECT email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s AND status='CONFIRMED' LIMIT 1", + $result = SQL_QUERY_ESC("SELECT email FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s AND `status`='CONFIRMED' LIMIT 1", array(bigintval($uid)), __FILE__, __LINE__); $DATA[10] = $PB; $DATA[11] = $cnt_back[$uid];