diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-21 10:32:19 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-02-21 10:32:19 +0000 |
commit | cddf792dea0195783c20094023272c5713faf2b3 (patch) | |
tree | 2d3dbb503514b53e8c9c8b842c79681c5e7136a3 /phpBB/includes/functions_user.php | |
parent | 22b9a9d886431af57985d11a23f9f2ee60a6bc5a (diff) | |
download | forums-cddf792dea0195783c20094023272c5713faf2b3.tar forums-cddf792dea0195783c20094023272c5713faf2b3.tar.gz forums-cddf792dea0195783c20094023272c5713faf2b3.tar.bz2 forums-cddf792dea0195783c20094023272c5713faf2b3.tar.xz forums-cddf792dea0195783c20094023272c5713faf2b3.zip |
- implementing David's proposed expression changes (some of them already noted within the events CCP)
git-svn-id: file:///svn/phpbb/trunk@5566 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r-- | phpBB/includes/functions_user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 5668fee1d0..0ed104d9f1 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -34,7 +34,7 @@ function user_get_id_name(&$user_id_ary, &$username_ary) $$which_ary = array($$which_ary); } - $sql_in = ($which_ary == 'user_id_ary') ? array_map('intval', $$which_ary) : preg_replace('#^[\s]*(.*?)[\s]*$#e', "\"'\" . \$db->sql_escape('\\1') . \"'\"", $$which_ary); + $sql_in = ($which_ary == 'user_id_ary') ? array_map('intval', $$which_ary) : preg_replace('#^\s*(.*)\s*$#e', "\"'\" . \$db->sql_escape('\\1') . \"'\"", $$which_ary); unset($$which_ary); // Grab the user id/username records |