Skip to content

Commit

Permalink
Fix manga option got deleted after scan
Browse files Browse the repository at this point in the history
  • Loading branch information
hernantas committed Dec 1, 2016
1 parent 4dbfe07 commit a79ded6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/model/Scan.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit a79ded6

Please sign in to comment.