X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-wernis.php;h=4403462e86762024b09f8226b4dfedf22ae49fdc;hp=ba5d83c97aeefbf316193744e89b1299daf0909a;hb=d1637dad0b2ca0e5fb411ee0843f01bfb4cc94e0;hpb=0e66cfbc7b29edeb2e8e1315408e3e3573f1fc2b;ds=sidebyside diff --git a/inc/modules/member/what-wernis.php b/inc/modules/member/what-wernis.php index ba5d83c97a..4403462e86 100644 --- a/inc/modules/member/what-wernis.php +++ b/inc/modules/member/what-wernis.php @@ -183,7 +183,7 @@ if ((!REQUEST_ISSET_GET('mode')) || (REQUEST_GET('mode') == 'choose')) { WERNIS_ADD_FEES_TO_ARRAY($content); // Get WDS66 id - $result = SQL_QUERY_ESC("SELECT wernis_userid FROM `{!_MYSQL_PREFIX!}_user_data` WHERE userid=%s LIMIT 1", + $result = SQL_QUERY_ESC("SELECT `wernis_userid` FROM `{!_MYSQL_PREFIX!}_user_data` WHERE `userid`=%s LIMIT 1", array(getUserId()), __FILE__, __LINE__); // Are there some entries?