diff options
Diffstat (limited to 'classes/Handler/ListHandler.php')
| -rw-r--r-- | classes/Handler/ListHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Handler/ListHandler.php b/classes/Handler/ListHandler.php index e8a5916..6ecec7d 100644 --- a/classes/Handler/ListHandler.php +++ b/classes/Handler/ListHandler.php @@ -32,7 +32,7 @@ class ListHandler implements RequestHandlerInterface, AuthRequired $fav_ids = []; while ($line = $fav_sth->fetch()) { - array_push($fav_ids, $line["bookid"]); + array_push($fav_ids, (int) $line["bookid"]); } if (empty($fav_ids)) { |
