09-02-2009, 06:41 PM
|
#6 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by codefreek
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.
|
Hehe, it was a typo in my file aswell as on the forums, so thanks!
__________________
|
|
|
|