aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorVjacheslav Trushkin <cyberalien@gmail.com>2013-08-11 11:31:02 +0300
committerVjacheslav Trushkin <cyberalien@gmail.com>2013-08-11 11:31:02 +0300
commita0206a61bcc174d04f80a6e172f37b25f5b84694 (patch)
tree2d31e899fba78ded5b864f172b2d8610aa5c6c0d /phpBB/phpbb
parentc9cd7412f27014e98300a0b8bff15b03f70dee55 (diff)
downloadforums-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.php5
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)
{