diff options
author | xue <> | 2007-03-13 22:03:22 +0000 |
---|---|---|
committer | xue <> | 2007-03-13 22:03:22 +0000 |
commit | 43574a91205367e5d7082b0359f31cb701455354 (patch) | |
tree | 08d91fd52d1de1242c2f790ab709cd144b4079bd | |
parent | 29101438588ca4b3a1d56f1fe7b0749d648b3a9b (diff) |
Fixed QST about pageservice.
-rw-r--r-- | demos/quickstart/protected/controls/SearchBox.php | 2 |
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);
}
|