From d085f1cae5c59e1f4be0ef90e204b56d64ad5469 Mon Sep 17 00:00:00 2001 From: iazaran Date: Sun, 17 Oct 2021 23:39:58 +0300 Subject: [PATCH] README.md updated --- README.md | 2 +- src/Controllers/BlogController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);