diff options
author | David M <davidmj@users.sourceforge.net> | 2007-06-16 13:49:49 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2007-06-16 13:49:49 +0000 |
commit | 367f5103d96b192dfca453e6c1a9e4f1a96b8122 (patch) | |
tree | f81e47becef01427a64516651c3d26a89e0ad314 /phpBB/includes/functions_convert.php | |
parent | 27c082d99ccf135f807de624a3e215e9d5c04b34 (diff) | |
download | forums-367f5103d96b192dfca453e6c1a9e4f1a96b8122.tar forums-367f5103d96b192dfca453e6c1a9e4f1a96b8122.tar.gz forums-367f5103d96b192dfca453e6c1a9e4f1a96b8122.tar.bz2 forums-367f5103d96b192dfca453e6c1a9e4f1a96b8122.tar.xz forums-367f5103d96b192dfca453e6c1a9e4f1a96b8122.zip |
- Oracle can't handle IN clauses with more than 1000 elements (Bug #12449)
- Firebird can now work properly in PHP4
git-svn-id: file:///svn/phpbb/trunk@7767 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r-- | phpBB/includes/functions_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php index 3fcbde0841..058412429c 100644 --- a/phpBB/includes/functions_convert.php +++ b/phpBB/includes/functions_convert.php @@ -1475,7 +1475,7 @@ function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting = ACL_NO) { $sql = 'SELECT role_id FROM ' . ACL_ROLES_TABLE . " - WHERE role_description = 'ROLE_DESCRIPTION_" . $db->sql_escape($acl_list) . "'"; + WHERE role_name = 'ROLE_" . $db->sql_escape($acl_list) . "'"; $result = $db->sql_query_limit($sql, 1); $row = $db->sql_fetchrow($result); $db->sql_freeresult($result); |