diff --git a/scp/canned.php b/scp/canned.php index 1cb77bc0884c026fd3a0c6626a74b8f21fea1f2e..cb6da802e404396d561ba306eb4972da3ec2249a 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