diff options
author | xue <> | 2006-03-13 02:38:47 +0000 |
---|---|---|
committer | xue <> | 2006-03-13 02:38:47 +0000 |
commit | 7770c298450237e092d6d801fd547609ba2db230 (patch) | |
tree | ddc92889b2f10256f59a4024f5bed5cc01d73bdf /framework/Web/UI/WebControls/TMultiView.php | |
parent | 6ae6538555d45b3e947f5ce0d948d9b88d95364a (diff) |
TDataFieldAccessor can access public member variables now. Added implementation to cope with low PHP versions.
Diffstat (limited to 'framework/Web/UI/WebControls/TMultiView.php')
-rw-r--r-- | framework/Web/UI/WebControls/TMultiView.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TMultiView.php b/framework/Web/UI/WebControls/TMultiView.php index d44668f4..a88fbda7 100644 --- a/framework/Web/UI/WebControls/TMultiView.php +++ b/framework/Web/UI/WebControls/TMultiView.php @@ -139,7 +139,7 @@ class TMultiView extends TControl {
if($view->getActive())
return;
- $triggerEvent=$this->getControlStage()>=TControl::CS_STATE_LOADED || !$this->getPage()->getIsPostBack();
+ $triggerEvent=$this->getControlStage()>=TControl::CS_STATE_LOADED || !$this->getPage() || !$this->getPage()->getIsPostBack();
foreach($this->getViews() as $v)
{
if($v===$view)
|