diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-05-02 23:32:14 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-05-02 23:32:14 +0200 |
commit | 936518d201c5523ee71c5ee46f4415aa4bb9f4cf (patch) | |
tree | 79c7333dc5f34e8d48d3ad902b6b417cd8c4f294 /phpBB | |
parent | 0d133e483b32d46c323ced7ff6146ced75b5f143 (diff) | |
parent | 68f4e84e62774db985aa74e93ca7944ce2b890be (diff) | |
download | forums-936518d201c5523ee71c5ee46f4415aa4bb9f4cf.tar forums-936518d201c5523ee71c5ee46f4415aa4bb9f4cf.tar.gz forums-936518d201c5523ee71c5ee46f4415aa4bb9f4cf.tar.bz2 forums-936518d201c5523ee71c5ee46f4415aa4bb9f4cf.tar.xz forums-936518d201c5523ee71c5ee46f4415aa4bb9f4cf.zip |
Merge pull request #2389 from prototech/ticket/12482
[ticket/12482] Fixed undefined variable: data.
* prototech/ticket/12482:
[ticket/12482] Fixed undefined variable: data.
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 7495e6baee..1f59019245 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -1618,7 +1618,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i) !in_array($poster_id, $permanently_banned_users) && // They must allow users to contact via PM - (($auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_')) || $data['user_allow_pm']) + (($auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_')) || $user_cache[$poster_id]['allow_pm']) ); $u_pm = ''; |