diff --git a/module/bug/model.php b/module/bug/model.php index 28cefef577..b11f1f654f 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -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') diff --git a/module/story/model.php b/module/story/model.php index 0087518777..c84415fd91 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -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') diff --git a/module/task/model.php b/module/task/model.php index 8fe95da4c9..cb3bef6aa3 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -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') diff --git a/module/testcase/model.php b/module/testcase/model.php index b42c039318..eef679779d 100644 --- a/module/testcase/model.php +++ b/module/testcase/model.php @@ -363,7 +363,6 @@ class testcaseModel extends model dao::$errors[] = $this->lang->error->hasEdited; return false; } - unset($_POST['lastEditedDate']); $now = helper::now(); $stepChanged = false;