diff options
author | Vic D'Elfant <vic@phpbb.com> | 2007-04-12 19:34:36 +0000 |
---|---|---|
committer | Vic D'Elfant <vic@phpbb.com> | 2007-04-12 19:34:36 +0000 |
commit | 8cad62fc8589a5524890631e5c0f67d72c55e6a8 (patch) | |
tree | f142ede9a7e8c85622159af0a2ae3195c05e0597 | |
parent | 3d70ffd92478cdd3d8a936bd9197d42200231ea3 (diff) | |
download | forums-8cad62fc8589a5524890631e5c0f67d72c55e6a8.tar forums-8cad62fc8589a5524890631e5c0f67d72c55e6a8.tar.gz forums-8cad62fc8589a5524890631e5c0f67d72c55e6a8.tar.bz2 forums-8cad62fc8589a5524890631e5c0f67d72c55e6a8.tar.xz forums-8cad62fc8589a5524890631e5c0f67d72c55e6a8.zip |
This is a nicer way of doing the NOT()...
Oh and I forgot to say hi in my first commit here, so here goes.. Hi everyone :)
git-svn-id: file:///svn/phpbb/trunk@7335 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_options.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_options.php b/phpBB/includes/ucp/ucp_pm_options.php index d7171273a2..cb55236936 100644 --- a/phpBB/includes/ucp/ucp_pm_options.php +++ b/phpBB/includes/ucp/ucp_pm_options.php @@ -725,7 +725,7 @@ function define_cond_option($hardcoded, $cond_option, $rule_option, $global_rule $sql .= 'WHERE'; } - $sql .= " NOT (g.group_name IN ('GUESTS', 'BOTS') AND g.group_type = " . GROUP_SPECIAL . ') + $sql .= " (g.group_name NOT IN ('GUESTS', 'BOTS') OR g.group_type <> " . GROUP_SPECIAL . ') ORDER BY g.group_type DESC, g.group_name ASC'; $result = $db->sql_query($sql); |