diff --git a/scp/tickets.php b/scp/tickets.php index 96d797c32bdcde46025b979b9a15ce794db857ee..a6dd4ce8b003d51047f1bf2843a442ce49d39b46 100644 --- a/scp/tickets.php +++ b/scp/tickets.php @@ -160,7 +160,7 @@ if($_POST && !$errors): $errors['assignId']= sprintf('%s - %s', __('Invalid assignee'), __('get technical support')); - elseif ($_POST['assignId'][0]!='s' + elseif ($_POST['assignId'][0]=='s' && $dept->assignMembersOnly() && !$dept->isMember($id)) { $errors['assignId'] = sprintf('%s. %s',