Skip to content
Snippets Groups Projects
Commit 69f801b4 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix incorrect logic in assignee check

Fixes #2143
parent 5efa2aa5
No related branches found
No related tags found
No related merge requests found
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment