diff options
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r-- | framework/Web/UI/TPage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index c72cdd03..598fb9dc 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -862,7 +862,7 @@ class TPage extends TTemplateControl */
public function ensureRenderInForm($control)
{
- if(!$this->_inFormRender)
+ if(!$this->getIsCallback() && !$this->_inFormRender)
throw new TConfigurationException('page_control_outofform',get_class($control),$control->getUniqueID());
}
|