summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls')
-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
}