mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
[ticket/12612] Prefix get_*_data() with phpbb_ and delete unused global
PHPBB3-12612
This commit is contained in:
@@ -118,7 +118,7 @@ if (!$auth->acl_getf_global('m_'))
|
||||
$allow_user = false;
|
||||
if ($quickmod && isset($user_quickmod_actions[$action]) && $user->data['is_registered'] && $auth->acl_gets($user_quickmod_actions[$action], $forum_id))
|
||||
{
|
||||
$topic_info = get_topic_data(array($topic_id));
|
||||
$topic_info = phpbb_get_topic_data(array($topic_id));
|
||||
if ($topic_info[$topic_id]['topic_poster'] == $user->data['user_id'])
|
||||
{
|
||||
$allow_user = true;
|
||||
|
Reference in New Issue
Block a user