All database names are now 'back-ticked' and constant _MYSQL_PREFIX is wrapped. Partl...
[mailer.git] / inc / modules / sponsor / account.php
index d13ff959c823e013da9e661ccf15d23bd5ee5e30..35bbe9b8c4c19174a5195fd98cdf7d1de64d6be8 100644 (file)
@@ -48,7 +48,7 @@ $result = SQL_QUERY_ESC("SELECT company, position, tax_ident,
 gender, surname, family, street_nr1, street_nr2, zip, city, country,
 phone, fax, cell, email, url,
 status, receive_warnings
-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__);
 if (SQL_NUMROWS($result) == 1) {