From 79e518ecf01f45b3ba53d81e62d4a0a1da65ed0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 19 Mar 2009 18:12:04 +0000 Subject: [PATCH] Fix for broken SQL queries, resolves #116. --- inc/libs/task_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/libs/task_functions.php b/inc/libs/task_functions.php index 8d9e24c187..fb0366a84e 100644 --- a/inc/libs/task_functions.php +++ b/inc/libs/task_functions.php @@ -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'); -- 2.39.5