From 8864a4629155b95fc93c9a0255a1e108786a577c Mon Sep 17 00:00:00 2001 From: javalizard <> Date: Sun, 18 Apr 2010 19:05:20 +0000 Subject: Switched the Page to getPage() --- framework/Web/UI/WebControls/TWebControlDecorator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web') diff --git a/framework/Web/UI/WebControls/TWebControlDecorator.php b/framework/Web/UI/WebControls/TWebControlDecorator.php index 07102d31..6e8b2200 100644 --- a/framework/Web/UI/WebControls/TWebControlDecorator.php +++ b/framework/Web/UI/WebControls/TWebControlDecorator.php @@ -263,7 +263,7 @@ class TWebControlDecorator extends TComponent { if($this->getPreTagTemplate() || $this->getPreContentsTemplate() || $this->getPostContentsTemplate() || $this->getPostTagTemplate()) - $control->Page->onSaveStateComplete[] = array($this, 'ensureTemplateDecoration'); + $control->getPage()->onSaveStateComplete[] = array($this, 'ensureTemplateDecoration'); // OnPreRenderComplete onSaveStateComplete } -- cgit v1.2.3