From a79ded6518ff0c7d644ca7b3dff04af3254a64d1 Mon Sep 17 00:00:00 2001 From: Zulfikar Raditya Hernanta Date: Thu, 1 Dec 2016 07:58:27 +0700 Subject: [PATCH] Fix manga option got deleted after scan --- app/model/Scan.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/model/Scan.php b/app/model/Scan.php index 93aeb67..9157ad6 100644 --- a/app/model/Scan.php +++ b/app/model/Scan.php @@ -231,6 +231,7 @@ public function removeDeleted($limitManga=200, $limitChapter=100) $query->delete(); // Delete Manga Option + $result->reset(); $query = $this->db->table('manga_option'); while ($row = $result->row()) {