diff --git a/include/ajax.tickets.php b/include/ajax.tickets.php
index 927ab63994a225cc1b682a24f422af0eb7d470d9..18a3af5a8228c3e8e3d939e0b288699372384f70 100644
--- a/include/ajax.tickets.php
+++ b/include/ajax.tickets.php
@@ -1837,7 +1837,7 @@ class TicketsAjaxAPI extends AjaxController {
                     // Clear attachment list
                     $reply_attachments_form->setSource(array());
                     $reply_attachments_form->getField('attachments')->reset();
-                    Draft::deleteForNamespace('task.reply.'.$task->getId(),
+                    Draft::deleteForNamespace('task.response.'.$task->getId(),
                             $thisstaff->getId());
                 } else {
                     if (!$errors['err'])
diff --git a/scp/tasks.php b/scp/tasks.php
index 5375261863e375f72e088b9958b80967299383b3..1ab4effc08e3a2eb41f8c1327e36f6a772af2839 100644
--- a/scp/tasks.php
+++ b/scp/tasks.php
@@ -90,7 +90,7 @@ if($_POST && !$errors):
                     $task = null; //Going back to main listing.
                 else
                     // Task is still open -- clear draft for the note
-                    Draft::deleteForNamespace('task.reply.'.$task->getId(),
+                    Draft::deleteForNamespace('task.response.'.$task->getId(),
                         $thisstaff->getId());
 
             } else {