diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2007-06-26 14:27:22 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2007-06-26 14:27:22 +0000 |
commit | 78c1256e5cc3b5372c7b07cc4a13215c4f779c25 (patch) | |
tree | bcff93b4bda04f4105db34d18e0d08694f1df03c /phpBB/includes/functions_posting.php | |
parent | 71b99a3f0449663eaf2a02a12119a1ceaad4409d (diff) | |
download | forums-78c1256e5cc3b5372c7b07cc4a13215c4f779c25.tar forums-78c1256e5cc3b5372c7b07cc4a13215c4f779c25.tar.gz forums-78c1256e5cc3b5372c7b07cc4a13215c4f779c25.tar.bz2 forums-78c1256e5cc3b5372c7b07cc4a13215c4f779c25.tar.xz forums-78c1256e5cc3b5372c7b07cc4a13215c4f779c25.zip |
Minor fixes
#12699
git-svn-id: file:///svn/phpbb/trunk@7800 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 282e74fa7c..cf38f07a15 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -115,11 +115,16 @@ function update_post_information($type, $ids, $return_update_sql = false) { global $db; + if (empty($ids)) + { + return; + } if (!is_array($ids)) { $ids = array($ids); } + $update_sql = $empty_forums = $not_empty_forums = array(); if ($type != 'topic') |