* 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
@@ -358,7 +358,7 @@ class testcaseModel extends model
public function update($caseID)
{
$oldCase = $this->getById($caseID);
if($oldCase->lastEditedDate != $this->post->lastEditedDate)
if(isset($_POST['lastEditedDate']) and $oldCase->lastEditedDate != $this->post->lastEditedDate)
{
dao::$errors[] = $this->lang->error->editedByOther;
return false;