X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fuser_functions.php;h=8e913f21ae3d51c9a9c228e4ff060f5f35951c4b;hp=18038d711269d0b4862aeaec232f9b1fccfa117f;hb=b29dab42eab7c64ca1945eb70fa7713f8898f6ae;hpb=0eaf34823f30502739d39efe2b592cb223089ed6 diff --git a/inc/libs/user_functions.php b/inc/libs/user_functions.php index 18038d7112..8e913f21ae 100644 --- a/inc/libs/user_functions.php +++ b/inc/libs/user_functions.php @@ -204,7 +204,7 @@ function USER_CREATE_EMAIL_LINK($email, $mod="admin") { $result = SQL_QUERY_ESC("SELECT userid FROM `{!_MYSQL_PREFIX!}_user_data` -WHERE email='%s'".$locked." LIMIT 1", +WHERE `email`='%s'".$locked." LIMIT 1", array($email), __FUNCTION__, __LINE__); if (SQL_NUMROWS($result) == 1) { // Load userid