mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Merge branch '3.1.x'
* 3.1.x: [ticket/9153] Allow users without u_sendpm permission to delete existing PM's.
This commit is contained in:
commit
e94f9d7830
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class ucp_pm
|
||||||
|
|
||||||
$user_folders = get_folder($user->data['user_id']);
|
$user_folders = get_folder($user->data['user_id']);
|
||||||
|
|
||||||
if (!$auth->acl_get('u_sendpm'))
|
if ($action != 'delete' && !$auth->acl_get('u_sendpm'))
|
||||||
{
|
{
|
||||||
// trigger_error('NO_AUTH_SEND_MESSAGE');
|
// trigger_error('NO_AUTH_SEND_MESSAGE');
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue