From 43574a91205367e5d7082b0359f31cb701455354 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 13 Mar 2007 22:03:22 +0000 Subject: Fixed QST about pageservice. --- demos/quickstart/protected/controls/SearchBox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3