Fix editor privilage issues

This commit is contained in:
2017-09-06 16:01:57 +07:00
parent 9296c7798e
commit 706b15d401
3 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class Posts
if ($not_valid = $this->post->showAll('valid_at', '>', $now)) {
foreach ($not_valid as $value) {
$this->post->update('pengumuman', ['status' => 0], $value['id']);
$this->post->update('pengumuman', ['status' => 2], $value['id']);
}
}
}