MTrackWeb/Project.php
authorAlan Knowles <alan@akkbhome.com>
Sun, 8 May 2011 13:47:06 +0000 (21:47 +0800)
committerAlan Knowles <alan@akkbhome.com>
Sun, 8 May 2011 13:47:06 +0000 (21:47 +0800)
MTrackWeb/Project.php

index 87f9717..73ab6f6 100644 (file)
@@ -147,7 +147,7 @@ class MTrackWeb_Project extends MTrackWeb
                 $gm->change($p, $g, $state);
                 $this->jok("updated");
             
-            case 'ROLE':
+            case 'role':
                 //DB_DataObject::debugLevel(1);
                 if ($this->authUser->company()->comptype != 'OWNER') {
                     $this->jerr("Owner company only");