DataObjects/Groups.php
authorAlan Knowles <alan@akbkhome.com>
Mon, 28 Nov 2011 08:01:11 +0000 (16:01 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 28 Nov 2011 08:01:11 +0000 (16:01 +0800)
DataObjects/Groups.php

index 41d99f2..f87f03a 100755 (executable)
@@ -36,7 +36,7 @@ class Pman_Core_DataObjects_Groups extends DB_DataObject
      */
     function checkPerm($lvl, $au) 
     {
-        return $au->hasPerm("Core.".$this->tableName(), $lvl);    
+        return $au->hasPerm("Core.Groups", $lvl);    
     } 
     function onUpdate($old, $req, $roo)
     {