diff options
| author | Chris Smith <toonarmy@phpbb.com> | 2009-03-19 19:24:47 +0000 |
|---|---|---|
| committer | Chris Smith <toonarmy@phpbb.com> | 2009-03-19 19:24:47 +0000 |
| commit | 06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba (patch) | |
| tree | ac03099c701b18c2748dd91b338f91c3c9918b60 /phpBB/includes/functions.php | |
| parent | e461162847b1ac9287870de680e8dbd17e9f2fc1 (diff) | |
| download | forums-06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba.tar forums-06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba.tar.gz forums-06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba.tar.bz2 forums-06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba.tar.xz forums-06c4fbf81fdc66cc3eea11628b35f5c4ebbbaaba.zip | |
SQL optimisations
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9399 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
| -rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 30d3e50be8..f38e0afc26 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -1120,7 +1120,7 @@ function markread($mode, $forum_id = false, $topic_id = false, $post_time = 0, $ $sql_update = array(); while ($row = $db->sql_fetchrow($result)) { - $sql_update[] = $row['forum_id']; + $sql_update[] = (int) $row['forum_id']; } $db->sql_freeresult($result); |
