diff --git a/App/Controllers/Posts.php b/App/Controllers/Posts.php
index cd44113..eb1efb1 100644
--- a/App/Controllers/Posts.php
+++ b/App/Controllers/Posts.php
@@ -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']);
}
}
}
diff --git a/App/Views/Data/edit_pengumuman.html b/App/Views/Data/edit_pengumuman.html
index 102d01a..fb87c6b 100644
--- a/App/Views/Data/edit_pengumuman.html
+++ b/App/Views/Data/edit_pengumuman.html
@@ -99,7 +99,7 @@