Previous fix fixed, a lot constants rewritten (unfinished)
[mailer.git] / inc / modules / sponsor / welcome.php
index fc4db713f5d637e00136f8f16d35c71aeb3870f2..304593ecbf243661c22f2cde2c279c5eea582c93 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);