diff --git a/include/class.ticket.php b/include/class.ticket.php
index 51abcbd62a59148f4f5cbb284defcceb23d4bce3..b5af7a3ca9b4b675b1b4c3c6e62bba65646a2314 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -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,