Fix editor privilage issues
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user