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

index e597b0b..f3c0fd8 100644 (file)
@@ -103,14 +103,18 @@ class MTrackWeb_TicketEdit extends MTrackWeb
     function post() // handle the post...
     {
        
-        $this->get($_REQUEST['id']);
+        $ret = $this->get($_REQUEST['id']);
+        if (!empty($ret)) {
+            print_r($ret);
+            exit;
          
+        }
         /// $this->preview = isset($_POST['preview']) ? true : false;
 
         // hopefull get has sorted out permissions..
          
         //    $CS = MTrackChangeset::begin("ticket:X", $comment);
-
+        
         $old = clone($this->issue);
         
         if (!$this->issue->id) {