* remove unset lastEditedDate.
This commit is contained in:
@@ -435,7 +435,6 @@ class bugModel extends model
|
||||
dao::$errors[] = $this->lang->error->hasEdited;
|
||||
return false;
|
||||
}
|
||||
unset($_POST['lastEditedDate']);
|
||||
|
||||
$now = helper::now();
|
||||
$bug = fixer::input('post')
|
||||
|
||||
@@ -347,7 +347,6 @@ class storyModel extends model
|
||||
dao::$errors[] = $this->lang->error->hasEdited;
|
||||
return false;
|
||||
}
|
||||
unset($_POST['lastEditedDate']);
|
||||
|
||||
$story = fixer::input('post')->stripTags($this->config->story->editor->change['id'], $this->config->allowedTags)->get();
|
||||
if($story->spec != $oldStory->spec or $story->verify != $oldStory->verify or $story->title != $oldStory->title or $this->loadModel('file')->getCount()) $specChanged = true;
|
||||
@@ -411,7 +410,6 @@ class storyModel extends model
|
||||
dao::$errors[] = $this->lang->error->hasEdited;
|
||||
return false;
|
||||
}
|
||||
unset($_POST['lastEditedDate']);
|
||||
|
||||
$story = fixer::input('post')
|
||||
->cleanInt('product,module,pri')
|
||||
|
||||
@@ -192,7 +192,6 @@ class taskModel extends model
|
||||
dao::$errors[] = $this->lang->error->hasEdited;
|
||||
return false;
|
||||
}
|
||||
unset($_POST['lastEditedDate']);
|
||||
|
||||
$now = helper::now();
|
||||
$task = fixer::input('post')
|
||||
|
||||
@@ -363,7 +363,6 @@ class testcaseModel extends model
|
||||
dao::$errors[] = $this->lang->error->hasEdited;
|
||||
return false;
|
||||
}
|
||||
unset($_POST['lastEditedDate']);
|
||||
|
||||
$now = helper::now();
|
||||
$stepChanged = false;
|
||||
|
||||
Reference in New Issue
Block a user