MTrackWeb/Gitlive.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 29 Mar 2011 10:33:41 +0000 (18:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 29 Mar 2011 10:33:41 +0000 (18:33 +0800)
MTrackWeb/Gitlive.php

index 9c2fdc2..fc8a58a 100644 (file)
@@ -52,7 +52,7 @@ class MTrackWeb_Gitlive extends MTrackWeb
             $this->jerr("invalid repo");
         }
         // make sure it's a valid project..
-        if (!$this->projectPerm($r->project_id, 'MTrack.Ticket', 'S')) {
+        if (!$this->projectPerm($r->project_id, 'MTrack.Issue', 'S')) {
             $this->jerr("no perms");
         }