diff options
Diffstat (limited to 'demos')
-rw-r--r-- | demos/personal/protected/Pages/UserLogin.php | 2 | ||||
-rw-r--r-- | demos/quickstart/protected/controls/SampleLayout.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/personal/protected/Pages/UserLogin.php b/demos/personal/protected/Pages/UserLogin.php index 0dd2cd79..ba33f1fa 100644 --- a/demos/personal/protected/Pages/UserLogin.php +++ b/demos/personal/protected/Pages/UserLogin.php @@ -13,7 +13,7 @@ class UserLogin extends TPage {
parent::onLoadComplete($param);
if($this->IsPostBack && $this->IsValid)
- $this->Response->redirect($this->Request->Items['ReturnUrl']);
+ $this->Response->redirect($this->Request['ReturnUrl']);
}
}
diff --git a/demos/quickstart/protected/controls/SampleLayout.php b/demos/quickstart/protected/controls/SampleLayout.php index 94b7ac74..2224572a 100644 --- a/demos/quickstart/protected/controls/SampleLayout.php +++ b/demos/quickstart/protected/controls/SampleLayout.php @@ -5,7 +5,7 @@ class SampleLayout extends TTemplateControl public function __construct()
{
- if($this->Request->Items->contains('functionaltest'))
+ if(isset($this->Request['functionaltest']))
$this->Service->RequestedPage->EnableTheming=false;
parent::__construct();
}
|