mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-20 00:21:42 +02:00
[ticket/11781] Include func update_post_information()
Include functions_posting before using functions defined in that file PHPBB3-11781
This commit is contained in:
@@ -360,6 +360,11 @@ class phpbb_content_visibility
|
|||||||
// Sync the first/last topic information if needed
|
// Sync the first/last topic information if needed
|
||||||
if (!$is_starter && $is_latest)
|
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 ...
|
// update_post_information can only update the last post info ...
|
||||||
if ($topic_id)
|
if ($topic_id)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user