Extension 'ext-coupon' moved to branch, SQLs improved:
[mailer.git] / inc / modules / guest / what-sponsor_reg.php
index 3a8a201..bc5bbdf 100644 (file)
@@ -206,7 +206,7 @@ if ((isFormSent()) && (count($formErrors) == 0)) {
 
        // Calulate points
        $result = SQL_QUERY_ESC("SELECT
-       (`pay_rate` * `pay_min_count`) AS points, `pay_min_count` AS pay, `pay_currency` AS curr
+       (`pay_rate` * `pay_min_count`) AS `points`, `pay_min_count`, `pay_currency`
 FROM
        `{?_MYSQL_PREFIX?}_sponsor_paytypes`
 WHERE