Someone please explain to me what's wrong with the following cause it doesn't make any sense at all. I'm getting an error that an array index does not exist when a dump the array the key exists and its pissing me off...
Code:Notice: Undefined index: resource in /path/to/Core/blah/blah/blah/library/Core/Acl.php on line 75Code:<allow> <a0001 role="guest"> <r0001 resource="default-index" privileges=""/> </a0001> </allow>PHP Code:if( !array_key_exists('resource', $source) ){
print_r($source);
die('**** ME!!!!!');// edited for honest eyes
}
Code:Array ( [role] => guest [r0001] => Array ( [resource] => default-index [privileges] => ) ) **** ME!!!!!





Bookmarks