diff --git a/README.md b/README.md index 00f3433..84e7791 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > This project tries to cover most of PHP features in a simple MVC structure with minimum installed composer packages. Then developers can use packages for specific requirements. Please add your ideas in Discussions or report bugs in issues. -🚧 WIP: Email verification +🚧 WIP: Logging | TODO: Events, Task Scheduling #### Features: **List of features related with structure** diff --git a/src/Controllers/BlogController.php b/src/Controllers/BlogController.php index f9dc348..22c4559 100644 --- a/src/Controllers/BlogController.php +++ b/src/Controllers/BlogController.php @@ -165,7 +165,7 @@ public function update() ]); if ($output['status'] == 'OK') { - if ($output['status'] == 'OK' && Helper::csrf($request->token) && Blog::update($request)) { + if (Helper::csrf($request->token) && Blog::update($request)) { Database::query("SELECT * FROM posts WHERE id = :id"); Database::bind(':id', $request->id);