MTrackWeb/TicketEdit.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 06:41:58 +0000 (14:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 06:41:58 +0000 (14:41 +0800)
MTrackWeb/TicketEdit.php

index af1bc55..b639eb4 100644 (file)
@@ -89,7 +89,11 @@ class MTrackWeb_TicketEdit extends MTrackWeb
         if ($this->editable && $this->id   && !$this->preview) {
             $this->showEditBar = true;
         }
-         
+        
+        if (empty($_POST)) {
+            return;
+        }
+        
         $this->initEditForm();