diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-11-15 22:20:40 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-11-15 22:20:40 +0000 |
commit | e80f40d5bb754aaa720c9e240e6310bff76cea70 (patch) | |
tree | 944b589b8bf21c3a2626cb73ea5fbfe272391515 | |
parent | aa34816c6f9b4b36188abc27a376415b20dd899a (diff) | |
download | forums-e80f40d5bb754aaa720c9e240e6310bff76cea70.tar forums-e80f40d5bb754aaa720c9e240e6310bff76cea70.tar.gz forums-e80f40d5bb754aaa720c9e240e6310bff76cea70.tar.bz2 forums-e80f40d5bb754aaa720c9e240e6310bff76cea70.tar.xz forums-e80f40d5bb754aaa720c9e240e6310bff76cea70.zip |
Fixed a small typo, and no, I'm not hostage of closet monkeys.
git-svn-id: file:///svn/phpbb/trunk@4667 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r-- | phpBB/includes/session.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 8eed78b3bf..a47569c041 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -844,7 +844,7 @@ class auth $sql_user = ($user_id) ? ((!is_array($user_id)) ? "user_id = $user_id" : 'user_id IN (' . implode(', ', $user_id) . ')') : ''; $sql_forum = ($forum_id) ? ((!is_array($forum_id)) ? "AND a.forum_id = $forum_id" : 'AND a.forum_id IN (' . implode(', ', $forum_id) . ')') : ''; - $sql_opts = ($opts) ? ((!is_array($opts)) ? "AND ao.auth_option = '$opts'" : 'AND ao.auth_option IN (' . implode(', ', preg_replace('#^[\s]*?(.*?)[\s]*?$#e', "\"'\" . $db->sql_escape('\\1') . \"'\"", $opts)) . ')') : ''; + $sql_opts = ($opts) ? ((!is_array($opts)) ? "AND ao.auth_option = '$opts'" : 'AND ao.auth_option IN (' . implode(', ', preg_replace('#^[\s]*?(.*?)[\s]*?$#e', "\"'\" . \$db->sql_escape('\\1') . \"'\"", $opts)) . ')') : ''; $hold_ary = array(); // First grab user settings ... each user has only one setting for each |