mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX ManifestBuilder::up_children() should be declared as static as it's called statically
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100918 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
5c79ee20fa
commit
6a6bb881a4
@ -587,7 +587,7 @@ class ManifestBuilder {
|
||||
* @param string $class
|
||||
* @param array $results
|
||||
*/
|
||||
function up_children($class) {
|
||||
static function up_children($class) {
|
||||
$children = self::get_Children($class);
|
||||
$results = $children;
|
||||
foreach($children as $className) {
|
||||
@ -596,5 +596,3 @@ class ManifestBuilder {
|
||||
return $results;;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user