aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2011-07-29 19:35:08 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2011-08-04 23:16:23 -0400
commit554ec1cbd487137c5ef9e48f34f8656fade533c2 (patch)
tree969d56fb225086974ca027de73ed07aaf4a79158 /phpBB/viewonline.php
parentMerge branch 'develop-olympus' into develop (diff)
downloadphpbb-554ec1cbd487137c5ef9e48f34f8656fade533c2.tar.gz
phpbb-554ec1cbd487137c5ef9e48f34f8656fade533c2.tar.bz2
phpbb-554ec1cbd487137c5ef9e48f34f8656fade533c2.zip
[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
Diffstat (limited to 'phpBB/viewonline.php')
-rw-r--r--phpBB/viewonline.php2
1 files changed, 1 insertions, 1 deletions
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