summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorjavalizard <>2010-04-18 19:05:20 +0000
committerjavalizard <>2010-04-18 19:05:20 +0000
commit8864a4629155b95fc93c9a0255a1e108786a577c (patch)
treeadf1be0fcf657e2f13b647081eea42f606fa55fa /framework
parentf50f883a91222b5727d5b8518cecbaa4c18d3741 (diff)
Switched the Page to getPage()
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/WebControls/TWebControlDecorator.php2
1 files changed, 1 insertions, 1 deletions
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
}