Bugfix: Kein Absturz mehr nach doppeltem Speichern mit leerer Beschreibung
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 22 Feb 2007 15:30:15 +0000 (15:30 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 22 Feb 2007 15:30:15 +0000 (15:30 +0000)
bin/mozilla/drafts.pl

index 41a4ac9..df0eb6b 100644 (file)
@@ -16,6 +16,7 @@ sub save_draft {
 
   if (!$form->{draft_id} && !$form->{draft_description}) {
     restore_form($form->{SAVED_FORM}, 1) if ($form->{SAVED_FORM});
+    delete($form->{SAVED_FORM});
     $form->{SAVED_FORM} = save_form();
 
     $form->header();