diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-03-19 13:25:00 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-03-19 13:25:00 +0000 |
commit | c6070d6dac90df81f4ec6a00ba74b087cccbb5ed (patch) | |
tree | dce2376a20e3bf0934fc3a8ff8f4bc4e1e00b0bc /phpBB/search.php | |
parent | 233e62f0b5033e84964fff95d79497ba62a52f23 (diff) | |
download | forums-c6070d6dac90df81f4ec6a00ba74b087cccbb5ed.tar forums-c6070d6dac90df81f4ec6a00ba74b087cccbb5ed.tar.gz forums-c6070d6dac90df81f4ec6a00ba74b087cccbb5ed.tar.bz2 forums-c6070d6dac90df81f4ec6a00ba74b087cccbb5ed.tar.xz forums-c6070d6dac90df81f4ec6a00ba74b087cccbb5ed.zip |
small SQL optimization
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9395 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 965c1a3c4b..2defd4bb92 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -395,7 +395,7 @@ if ($keywords || $author || $author_id || $search_id || $submit) while ($row = $db->sql_fetchrow($result)) { - $id_ary[] = $row[$field]; + $id_ary[] = (int) $row[$field]; } $db->sql_freeresult($result); |