summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SampleLayout.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/controls/SampleLayout.php')
-rw-r--r--demos/quickstart/protected/controls/SampleLayout.php2
1 files changed, 1 insertions, 1 deletions
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();
}