DataObjects/Core_group.php
authoredward <edward@roojs.com>
Mon, 24 Oct 2016 06:45:22 +0000 (14:45 +0800)
committeredward <edward@roojs.com>
Mon, 24 Oct 2016 06:45:22 +0000 (14:45 +0800)
DataObjects/Core_group.php

index 0fca357..1d4cc63 100644 (file)
@@ -94,7 +94,7 @@ class Pman_Core_DataObjects_Core_group extends DB_DataObject
      */
     function checkPerm($lvl, $au) 
     {
-        print_R($au->hasPerm());exit;
+        print_R($au->hasPerm("Core.Groups", $lvl));exit;
         return $au->hasPerm("Core.Groups", $lvl);    
     } 
     function onUpdate($old, $req, $roo)