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

lock: Release lock for note on successful post

parent 37cdf258
No related branches found
No related tags found
No related merge requests found
......@@ -227,6 +227,9 @@ if($_POST && !$errors):
$note_form->setSource(array());
$note_form->getField('attachments')->reset();
// Remove staff's locks
$ticket->releaseLock($thisstaff->getId());
if($wasOpen && $ticket->isClosed())
$ticket = null; //Going back to main listing.
else
......
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