A lot fixes to templates and missing functions added, more rewrites
[mailer.git] / inc / libs / payout_functions.php
index 4df56e3a20469b8eeb82fa5b78efcce4c6dcc472..5d886f1f0993d661a62c88f25163ffc0cc3636c0 100644 (file)
@@ -46,7 +46,7 @@ function PAYOUT_OUTPUT_PAYOUT_LIST ($points) {
                $result = SQL_QUERY_ESC("SELECT id, type, rate, min_points
 FROM `{!_MYSQL_PREFIX!}_payout_types`
 WHERE %s >= min_points
-ORDER BY type", array($points), __FILE__, __LINE__);
+ORDER BY type", array($points), __FUNCTION__, __LINE__);
                if (SQL_NUMROWS($result) > 0) {
                        OUTPUT_HTML("<br /><div align=\"center\">
 <div align=\"center\"><strong>{--PAYOUT_NOW--}:</strong></div><br />