Fix typo
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 10 Dec 2009 21:24:08 +0000 (14:24 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 10 Dec 2009 21:24:08 +0000 (14:24 -0700)
imp/lib/Compose.php

index a5b2a44..3b17326 100644 (file)
@@ -155,7 +155,7 @@ class IMP_Compose
          * auto_delete_drafts was true, and we successfully sent the
          * message. */
         if ((($GLOBALS['prefs']->getValue('auto_save_drafts') &&
-              !$this->_getMetadata('resume')) ||
+              !$this->getMetadata('resume')) ||
              ($success && $GLOBALS['prefs']->getValue('auto_delete_drafts'))) &&
             ($uid = $this->getMetadata('draft_uid'))) {
             $imp_message = IMP_Message::singleton();