* fix the error of location.

This commit is contained in:
wangchunsheng
2010-12-02 08:35:37 +00:00
parent cd1326ab9a
commit df8351fbd0
2 changed files with 5 additions and 3 deletions
+2 -3
View File
@@ -470,7 +470,8 @@ class project extends control
{
if($projectID)
{
$this->view->tips = $this->fetch('project', 'tips', "projectID=$projectID");
$this->view->tips = $this->fetch('project', 'tips', "projectID=$projectID");
$this->view->projectID = $projectID;
$this->display();
exit;
}
@@ -842,9 +843,7 @@ class project extends control
*/
public function tips($projectID)
{
$url = $this->createLink('project', 'task', "projectID=$projectID");
$this->view->projectID = $projectID;
$this->display('project', 'tips');
echo "<html><head><meta http-equiv='refresh' content='5; url=$url' /></head><body></body></html>";
}
}