MTrackWeb/Ticket.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 11:38:30 +0000 (19:38 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 11:38:30 +0000 (19:38 +0800)
MTrackWeb/Ticket.php

index a3765eb..bc70a01 100644 (file)
@@ -33,8 +33,7 @@ class MTrackWeb_Ticket extends MTrackWeb
         }
         $this->masterTemplate = 'ticket.html';
         $this->id = $pi ?  $pi: (isset($_GET['id']) ? $_GET['id'] : 0);
-        $this->id  = $this->id  == 'new' ? 0 : $this->id;
-        $this->id  = (int) $this->id;
+         $this->id  = (int) $this->id;
         
     
         // -- load issue..