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

Fix creation of canned responses

parent a99f5662
No related branches found
No related tags found
No related merge requests found
...@@ -54,7 +54,7 @@ if($_POST && $thisstaff->canManageCannedResponses()) { ...@@ -54,7 +54,7 @@ if($_POST && $thisstaff->canManageCannedResponses()) {
} }
break; break;
case 'create': case 'create':
if(($id=Canned::create($_POST, $_FILES['attachments'], $errors))) { if(($id=Canned::create($_POST, $errors))) {
$msg='Canned response added successfully'; $msg='Canned response added successfully';
$_REQUEST['a']=null; $_REQUEST['a']=null;
//Upload attachments //Upload attachments
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment