Skip to content
Snippets Groups Projects
Commit 2f1ae23b authored by Peter Rotich's avatar Peter Rotich
Browse files

Init $errors

parent 605c9daa
No related branches found
No related tags found
No related merge requests found
......@@ -1492,6 +1492,7 @@ class Ticket {
'response' => $this->replaceVars($canned->getResponse()),
'cannedattachments' => $files);
$errors = array();
if(!($respId=$this->postReply($info, $errors, false)))
return false;
......@@ -1647,6 +1648,7 @@ class Ticket {
//Insert Internal Notes
function logNote($title, $note, $poster='SYSTEM', $alert=true) {
$errors = array();
return $this->postNote(
array('title' => $title, 'note' => $note),
$errors,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment