]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/welcome.php
More bugs resolved, thanks to profi-concept
[mailer.git] / inc / modules / sponsor / welcome.php
index 0c4be620507e9360bbeaa5c4310091d55147f51c..f8362058097419b755a359ea04a051ee549ae34e 100644 (file)
@@ -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);