summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected')
-rw-r--r--demos/quickstart/protected/controls/SearchBox.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/quickstart/protected/controls/SearchBox.php b/demos/quickstart/protected/controls/SearchBox.php
index 6fb8e376..2e74ae31 100644
--- a/demos/quickstart/protected/controls/SearchBox.php
+++ b/demos/quickstart/protected/controls/SearchBox.php
@@ -31,7 +31,7 @@ class SearchBox extends TTemplateControl
{
if(strlen($query = $this->search->getText()) >0)
{
- $ps = $this->getApplication()->getPageService();
+ $ps = $this->getApplication()->getService();
$page = $ps->constructUrl('Search', array('q' => $query), false);
$this->getApplication()->getResponse()->redirect($page);
}