[ticket/11781] Include func update_post_information()

Include functions_posting before using functions defined in that file

PHPBB3-11781
This commit is contained in:
Vjacheslav Trushkin 2013-08-11 11:31:02 +03:00
parent c9cd7412f2
commit a0206a61bc

View file

@ -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)
{