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 8d9e24c..fb0366a 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');