diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-27 12:18:04 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2008-12-27 12:18:04 +0000 |
commit | 25725c98503c3a9ba8b5de4b91c2528b6c974a03 (patch) | |
tree | adf5470b0a4f90ef44b9be7a9761c4a6153072aa /phpBB/modules/ucp/ucp_zebra.php | |
parent | 297af28a40e5fa94de0cb2f57d807b39020f44f0 (diff) | |
download | forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.gz forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.bz2 forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.xz forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.zip |
replace constants with class constants.
ACL_YES, ACL_NO, ACL_NEVER, USER_NORMAL, USER_IGNORE, USER_INACTIVE, USER_FOUNDER
git-svn-id: file:///svn/phpbb/trunk@9233 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/ucp/ucp_zebra.php')
-rw-r--r-- | phpBB/modules/ucp/ucp_zebra.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/ucp/ucp_zebra.php b/phpBB/modules/ucp/ucp_zebra.php index 6ba168a53c..a928e9985a 100644 --- a/phpBB/modules/ucp/ucp_zebra.php +++ b/phpBB/modules/ucp/ucp_zebra.php @@ -114,13 +114,13 @@ class ucp_zebra $sql = 'SELECT user_id, user_type FROM ' . USERS_TABLE . ' WHERE ' . $db->sql_in_set('username_clean', $data['add']) . ' - AND user_type <> ' . USER_INACTIVE; + AND user_type <> ' . phpbb::USER_INACTIVE; $result = $db->sql_query($sql); $user_id_ary = array(); while ($row = $db->sql_fetchrow($result)) { - if ($row['user_id'] != ANONYMOUS && $row['user_type'] != USER_IGNORE) + if ($row['user_id'] != ANONYMOUS && $row['user_type'] != phpbb::USER_IGNORE) { $user_id_ary[] = $row['user_id']; } |