[ticket/12482] Fixed undefined variable: data.

PHPBB3-12482
This commit is contained in:
Cesar G 2014-05-02 14:22:16 -07:00
parent 0d133e483b
commit 68f4e84e62

View file

@ -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 = '';