* fix the error of joinDate.

This commit is contained in:
wangchunsheng
2011-12-07 01:30:32 +00:00
parent 8514e02b81
commit a04bf76dbc
+2 -2
View File
@@ -577,8 +577,8 @@ class projectModel extends model
if(!isset($teamMembers[$account]))
{
$role = $this->dao->select('*')->from(TABLE_TEAM)->where('project')->eq($preProjectID)->andWhere('account')->eq($account)->fetch();
$role->project = $projectID;
$role->joinDate = helper::today();
$role->project = $projectID;
$role->join = helper::today();
$this->dao->insert(TABLE_TEAM)->data($role)->exec();
}
}