]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/sponsor/welcome.php
All database names are now 'back-ticked' and constant _MYSQL_PREFIX is wrapped. Partl...
[mailer.git] / inc / modules / sponsor / welcome.php
index f8362058097419b755a359ea04a051ee549ae34e..fc4db713f5d637e00136f8f16d35c71aeb3870f2 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);