summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/SearchBox.php
diff options
context:
space:
mode:
authorxue <>2007-03-13 22:03:22 +0000
committerxue <>2007-03-13 22:03:22 +0000
commit43574a91205367e5d7082b0359f31cb701455354 (patch)
tree08d91fd52d1de1242c2f790ab709cd144b4079bd /demos/quickstart/protected/controls/SearchBox.php
parent29101438588ca4b3a1d56f1fe7b0749d648b3a9b (diff)
Fixed QST about pageservice.
Diffstat (limited to 'demos/quickstart/protected/controls/SearchBox.php')
-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);
}