From 1c4e11274a3ee7b59e4a89df0bcea92d2ec6f1ea Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Mon, 1 Feb 2010 22:58:21 +0000 Subject: [PATCH] MINOR: change FTPageHolder::$allowed_children from string to array so as not to break SiteTree::allowedChildren() call --- code/model/FTPageHolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/model/FTPageHolder.php b/code/model/FTPageHolder.php index 0dd511f..0dee731 100644 --- a/code/model/FTPageHolder.php +++ b/code/model/FTPageHolder.php @@ -2,5 +2,5 @@ class FTPageHolder extends Page { static $default_child = 'FTPage'; - static $allowed_children = 'FTPage'; + static $allowed_children = array('FTPage'); } \ No newline at end of file