MTrackWeb/TicketEdit.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 08:28:10 +0000 (16:28 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 24 Mar 2011 08:28:10 +0000 (16:28 +0800)
MTrackWeb/TicketEdit.php

index 88e6481..aa93fa5 100644 (file)
@@ -74,7 +74,7 @@ class MTrackWeb_TicketEdit extends MTrackWeb
         
         if ($this->id &&  (
                 !$this->hasPerm('MTrack.Issue','S') || // general permission to view
-                !$this->ticket->hasPerm($this->authUser,'S') // specific permission on this bug.
+                !$this->issue->hasPerm($this->authUser,'S') // specific permission on this bug.
                 
             )) {
             return HTML_FlexyFramework::run('Noperm');