diff options
Diffstat (limited to 'demos/controls/protected/pages/HomePage.php')
-rw-r--r-- | demos/controls/protected/pages/HomePage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/controls/protected/pages/HomePage.php b/demos/controls/protected/pages/HomePage.php index 6c69e44b..7339f364 100644 --- a/demos/controls/protected/pages/HomePage.php +++ b/demos/controls/protected/pages/HomePage.php @@ -5,8 +5,8 @@ class HomePage extends TPage public function onPreInit($param)
{
parent::onPreInit($param);
- if(!$this->getUser()->getIsGuest())
- $this->setTheme('');
+ if(!$this->User->IsGuest)
+ $this->Theme='';
}
public function testClick($sender,$param)
|