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

index 8c73a74..15cfd8c 100644 (file)
@@ -67,9 +67,7 @@ class MTrackWeb_Ticket extends MTrackWeb
         if (!$this->id && !$this->hasPerm('MTrack.Issue','A')) {
             return HTML_FlexyFramework::run('Noperm');
         }
-        if ($this->id &&  (
-                !$this->hasPerm('MTrack.Issue','S')  
-            )) {
+        if ($this->id &&  (  !$this->hasPerm('MTrack.Issue','S')    )) {
             $this->jerr('no permission');
         }