X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor%2Fwelcome.php;h=f8362058097419b755a359ea04a051ee549ae34e;hb=62b16291efe168636f5eda2c8644f6770382fb1e;hp=0c4be620507e9360bbeaa5c4310091d55147f51c;hpb=0626c932e7b895a22f390523f4e6248ca77cfb98;p=mailer.git diff --git a/inc/modules/sponsor/welcome.php b/inc/modules/sponsor/welcome.php index 0c4be62050..f836205809 100644 --- a/inc/modules/sponsor/welcome.php +++ b/inc/modules/sponsor/welcome.php @@ -45,7 +45,7 @@ if (!defined('__SECURITY')) { // Load some data $result = SQL_QUERY_ESC("SELECT gender, surname, family, (points_amount - points_used) AS points -FROM "._MYSQL_PREFIX."_sponsor_data +FROM `"._MYSQL_PREFIX."_sponsor_data` WHERE id='%s' AND password='%s' LIMIT 1", array(bigintval(get_session('sponsorid')), get_session('sponsorpass')), __FILE__, __LINE__); list($gender, $surname, $family, $points) = SQL_FETCHROW($result);