View Single Post
Old 09-02-2009, 06:20 PM   #5 (permalink)
codefreek
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

at PermissionList.php,

PHP Code:
public function getPermission($type$name)
    {
    
        switch(
$type)
        {
        
            case 
'page':
                if(
array_key_exists($name$this->pages
                {
                
                    return 
$this->pages[$name];
                    
      ---->        ]
                return 
false;
                break;
                
            case 
'feature':
                if(
array_key_exists($name$this->features)
                {
                
                    return 
$this->features[$name];
                    
                }
                return 
false;
                break;
        
        }
    
    }


you have a ] when it should be } might be just a small typo when posting it on the forums just thought you should know.
codefreek is offline  
Reply With Quote