MTrackWeb/Project.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 8 May 2011 06:49:29 +0000 (14:49 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 8 May 2011 06:49:29 +0000 (14:49 +0800)
MTrackWeb/Project.php

index 6155270..2609848 100644 (file)
@@ -92,7 +92,7 @@ class MTrackWeb_Project extends MTrackWeb
     
     function checkGroupPerson($g,$p)
     {
-        if (in_array($g->id, $p->groups)) {
+        if (in_array($g->id, $p->person->groups)) {
             return 'checked';
         }
         return '';