]> git.mxchange.org Git - mailer.git/commitdiff
Fix for broken SQL queries, resolves #116.
authorRoland Häder <roland@mxchange.org>
Thu, 19 Mar 2009 18:12:04 +0000 (18:12 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 19 Mar 2009 18:12:04 +0000 (18:12 +0000)
inc/libs/task_functions.php

index 8d9e24c187edba13d46f425116cfe3ff97d2cf4d..fb0366a84e7548a2b018b017406cdcd0d73c470f 100644 (file)
@@ -479,7 +479,7 @@ ORDER BY beg_points DESC, userid");
                $TITLEs[] = getMessage('ADMIN_TASK_LIST_SPONSOR_PENDING_TITLE');
 
                // Waiting payments
-               ADD_SQL("SELECT id FROM `{!_MYSQL_PREFIX!}_sponsor_orders` WHERE pay_`status`='PENDING' ORDER BY `id`");
+               ADD_SQL("SELECT id FROM `{!_MYSQL_PREFIX!}_sponsor_orders` WHERE `pay_status`='PENDING' ORDER BY `id`");
                $WHATs[]  = "list_sponsor_pays";
                $DESCRs[] = getMessage('ADMIN_TASK_LIST_SPONSOR_ORDERS');
                $TITLEs[] = getMessage('ADMIN_TASK_LIST_SPONSOR_ORDERS_TITLE');