Merged revisions 50957 via svnmerge from

http://svn.silverstripe.com/open/modules/sapphire/trunk

........
  r50957 | ischommer | 2008-03-12 22:34:27 +1300 (Wed, 12 Mar 2008) | 1 line
  
  #2283 Permissions are a bit broken - what happened to all the CMS permissions?
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.2@50951 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2008-03-12 09:34:48 +00:00 committed by Sam Minnee
parent 2eb5dad59d
commit ab92e9ef01

View File

@ -365,14 +365,15 @@ class ManifestBuilder {
$args = split("implements", $classes[1][$i]);
$implements = isset($args[1]) ? $args[1] : null;
$interfaces = explode(",", $implements);
$interfaces = explode(",", trim($implements));
$args = split("extends", $args[0]);
$extends = trim(isset($args[1]) ? $args[1] : null);
$class = trim($args[0]);
if($extends) self::$extendsArray[$extends][$class] = $class;
if($extends) self::$extendsArray[trim($extends)][$class] = $class;
foreach($interfaces as $interface) {
self::$implementsArray[$interface][$class] = $class;
self::$implementsArray[trim($interface)][$class] = $class;
}
self::$classArray[$class] = array(