* fix add comment for story/task/bug/case.

This commit is contained in:
wangyidong
2016-03-18 08:23:34 +08:00
parent 9687085189
commit 589d4988a4
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ class taskModel extends model
public function update($taskID)
{
$oldTask = $this->getById($taskID);
if($oldTask->lastEditedDate != $this->post->lastEditedDate)
if(isset($_POST['lastEditedDate']) and $oldTask->lastEditedDate != $this->post->lastEditedDate)
{
dao::$errors[] = $this->lang->error->editedByOther;
return false;