From e80f40d5bb754aaa720c9e240e6310bff76cea70 Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Sat, 15 Nov 2003 22:20:40 +0000 Subject: [PATCH] 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 --- phpBB/includes/session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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