From 554ec1cbd487137c5ef9e48f34f8656fade533c2 Mon Sep 17 00:00:00 2001 From: David King Date: Fri, 29 Jul 2011 19:35:08 -0400 Subject: [PATCH] [ticket/10290] Fixed malformed SQL query in viewonline.php As per Oleg's suggestion, the offending equals sign was removed so that the query did not return an error. PHPBB3-10290 --- phpBB/viewonline.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/viewonline.php b/phpBB/viewonline.php index 74ad7eba0d..27038a975e 100644 --- a/phpBB/viewonline.php +++ b/phpBB/viewonline.php @@ -377,7 +377,7 @@ if ($auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel')) { $sql = 'SELECT group_id, group_name, group_colour, group_type, group_legend FROM ' . GROUPS_TABLE . ' - WHERE group_legend = > 0 + WHERE group_legend > 0 ORDER BY ' . $order_legend . ' ASC'; } else