From 1e972ed6953710dba233c9afdd74fb087b0382d6 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 13 Apr 2010 03:51:24 +0000 Subject: [PATCH] MINOR add a hidden field to attach the subsite ID, rather than relying on the session (from r91014) (from r96808) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@102672 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/CMSMain.php b/code/CMSMain.php index e2469a13..675540a1 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1023,6 +1023,8 @@ JS; new DropdownField("PageType", "", $pageTypes, 'Page') ); + $this->extend('updatePageOptions', $fields); + $actions = new FieldSet( new FormAction("doAdd", _t('CMSMain.GO',"Go")) );