* finish task #1573.

This commit is contained in:
wyd621
2013-07-17 09:41:40 +08:00
parent 648c28140d
commit 09a9872a14
+2 -1
View File
@@ -6,7 +6,7 @@
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package project
* @version $Id$
* @version $Id: model.php 5118 2013-07-12 07:41:41Z chencongzhi520@gmail.com $
* @link http://www.zentao.net
*/
?>
@@ -245,6 +245,7 @@ class projectModel extends model
{
$member->project = $projectID;
$member->join = $today;
$member->days = $project->days;
$this->dao->insert(TABLE_TEAM)->data($member)->exec();
if($member->account == $this->app->user->account) $creatorExists = true;
}