diff --git a/include/class.export.php b/include/class.export.php
index ed9cee15a9ee7729ee502b3f687c298677099784..acdc333582c6d7d54b35c0fd17d4db5ccd5ec473 100644
--- a/include/class.export.php
+++ b/include/class.export.php
@@ -110,7 +110,7 @@ class Export {
         return false;
     }
 
-    static function saveTasks(sql, $filename, $how='csv') {
+    static function saveTasks($sql, $filename, $how='csv') {
         return false;
     }
 
diff --git a/include/class.ticket.php b/include/class.ticket.php
index 3127c85071c9b6b28d8c652d7abd036642da8af0..605758114102bcc1dfe959abec689b933a8e4fb9 100644
--- a/include/class.ticket.php
+++ b/include/class.ticket.php
@@ -2505,7 +2505,7 @@ implements RestrictedAccess, Threadable, TemplateVariable {
     }
 
     // Threadable interface
-    function postThreadEntry($type, $vars) {
+    function postThreadEntry($type, $vars, $options=array()) {
         $errors = array();
         switch ($type) {
         case 'M':