diff options
author | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-08-11 11:31:02 +0300 |
---|---|---|
committer | Vjacheslav Trushkin <cyberalien@gmail.com> | 2013-08-11 11:31:02 +0300 |
commit | a0206a61bcc174d04f80a6e172f37b25f5b84694 (patch) | |
tree | 2d31e899fba78ded5b864f172b2d8610aa5c6c0d /phpBB/phpbb | |
parent | c9cd7412f27014e98300a0b8bff15b03f70dee55 (diff) | |
download | forums-a0206a61bcc174d04f80a6e172f37b25f5b84694.tar forums-a0206a61bcc174d04f80a6e172f37b25f5b84694.tar.gz forums-a0206a61bcc174d04f80a6e172f37b25f5b84694.tar.bz2 forums-a0206a61bcc174d04f80a6e172f37b25f5b84694.tar.xz forums-a0206a61bcc174d04f80a6e172f37b25f5b84694.zip |
[ticket/11781] Include func update_post_information()
Include functions_posting before using functions defined in that file
PHPBB3-11781
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/content_visibility.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index 4ad5f6793e..fb8ece0e8c 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -360,6 +360,11 @@ class phpbb_content_visibility // Sync the first/last topic information if needed if (!$is_starter && $is_latest) { + if (!function_exists('update_post_information')) + { + include($this->phpbb_root_path . 'includes/functions_posting.' . $this->php_ext); + } + // update_post_information can only update the last post info ... if ($topic_id) { |