From fd33535386d6750ad6fa8754cd046ae5b2fd9517 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 5 Nov 2009 09:47:09 +0000 Subject: [PATCH] * fix the error. --- module/my/control.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/my/control.php b/module/my/control.php index d7c2fe0bb3..f31e1974e5 100644 --- a/module/my/control.php +++ b/module/my/control.php @@ -37,7 +37,7 @@ class my extends control } /* 用户的todo列表。*/ - public function todo($date = 'today') + public function todo($date = 'today', $account = '', $status = 'all') { /* 加载todo model。*/ $this->loadModel('todo'); @@ -46,7 +46,7 @@ class my extends control $header['title'] = $this->lang->my->common . $this->lang->colon . $this->lang->my->todo; $position[] = $this->lang->my->todo; - $todos = $this->todo->getList($date); + $todos = $this->todo->getList($date, $account, $status); if((int)$date == 0) $date = $this->todo->today(); /* 赋值。*/