From 98738644653bc9f7331413c8a4191eb1fcf53e67 Mon Sep 17 00:00:00 2001 From: Jared Hancock <gravydish@gmail.com> Date: Mon, 18 Jun 2012 16:27:17 -0500 Subject: [PATCH] Fix creation of canned responses --- scp/canned.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp/canned.php b/scp/canned.php index 1cb77bc08..cb6da802e 100644 --- a/scp/canned.php +++ b/scp/canned.php @@ -54,7 +54,7 @@ if($_POST && $thisstaff->canManageCannedResponses()) { } break; case 'create': - if(($id=Canned::create($_POST, $_FILES['attachments'], $errors))) { + if(($id=Canned::create($_POST, $errors))) { $msg='Canned response added successfully'; $_REQUEST['a']=null; //Upload attachments -- GitLab