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

index 6f063b4..736ccfe 100644 (file)
@@ -164,10 +164,14 @@ class MTrackWeb_Ticket extends MTrackWeb
         //    empty($_POST['estimate']) ? 0 : $_POST['estimate']
         //);
         
-        if (!empty($_POST['comment'])) {
+        $CS = DB_DataObject::factory('mtrack_change');
+        $CS->begin($this->issue, empty($_POST['comment']) ? '' : $_POST['comment']);
+            
+        
+        //if (!empty($_POST['comment'])) {
             // create a comment CS..
             
-        }
+        //}
         
 
           if (!count($this->error)) {