mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
- tackle some usability issues
- fix bug #3147 - added the lock-images made by SHS` - fixed MSSQL errors (adding the correct ESCAPE sequence) git-svn-id: file:///svn/phpbb/trunk@6161 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -237,7 +237,7 @@ function compose_pm($id, $mode, $action)
|
||||
$check_value = 0;
|
||||
}
|
||||
|
||||
if (($to_group_id || isset($address_list['g'])) && !$config['allow_mass_pm'])
|
||||
if (($to_group_id || isset($address_list['g'])) && (!$config['allow_mass_pm'] || !$auth->acl_get('u_masspm')))
|
||||
{
|
||||
trigger_error('NO_AUTH_GROUP_MESSAGE');
|
||||
}
|
||||
@@ -301,7 +301,7 @@ function compose_pm($id, $mode, $action)
|
||||
handle_message_list_actions($address_list, $remove_u, $remove_g, $add_to, $add_bcc);
|
||||
|
||||
// Check for too many recipients
|
||||
if (!$config['allow_mass_pm'] && num_recipients($address_list) > 1)
|
||||
if ((!$config['allow_mass_pm'] || !$auth->acl_get('u_masspm')) && num_recipients($address_list) > 1)
|
||||
{
|
||||
$address_list = get_recipient_pos($address_list, 1);
|
||||
$error[] = $user->lang['TOO_MANY_RECIPIENTS'];
|
||||
|
Reference in New Issue
Block a user