Browse Source

Fix bug with project dts_created being reset on update

Alan Lam 8 năm trước cách đây
mục cha
commit
6d7c5ee713
1 tập tin đã thay đổi với 0 bổ sung và 1 xóa
  1. 0 1
      controllers/project_edit.php

+ 0 - 1
controllers/project_edit.php

@@ -69,7 +69,6 @@ if($submit) {
 
 		$project->dts_start = Util::getDateTime($unix_start);
 		$project->dts_deadline = Util::getDateTime($unix_deadline);
-		$project->dts_created = Util::getDateTime();
 		$project->dts_report = Util::getDateTime($unix_report);
 
 		if($unix_start > $unix_deadline) $form_exception->addError("Start Date cannot be after the Deadline.");