if($mybb->settings['allowbuddyonly'] == 1 && $user['receivefrombuddy'] == 1 && !empty($user['buddylist']) && strpos(','.$user['buddylist'].',', ','.$pm['fromid'].',') === false)
| if(empty($pm['saveasdraft']) && $mybb->settings['allowbuddyonly'] == 1 && $user['receivefrombuddy'] == 1 && !empty($user['buddylist']) && strpos(','.$user['buddylist'].',', ','.$pm['fromid'].',') === false)
|
{ $this->set_error('recipient_has_buddy_only', array(htmlspecialchars_uni($user['username']))); }
| { $this->set_error('recipient_has_buddy_only', array(htmlspecialchars_uni($user['username']))); }
|