aboutsummaryrefslogtreecommitdiff
path: root/app/Models/FeedDAO.php
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-29 11:47:51 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-29 11:47:51 +0100
commitd20b5a127fe95f91b55f3ae9391365c67f96c4cc (patch)
treef978c2f29dc934c375b9d228a6fe702d0ced9d67 /app/Models/FeedDAO.php
parentfb3cda8ac9f7c8895ed33d7db432a92b063a7198 (diff)
Fix limit in import Json files
See https://github.com/marienfressinaud/FreshRSS/issues/680
Diffstat (limited to 'app/Models/FeedDAO.php')
-rw-r--r--app/Models/FeedDAO.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/FeedDAO.php b/app/Models/FeedDAO.php
index 852de6e36..74597c730 100644
--- a/app/Models/FeedDAO.php
+++ b/app/Models/FeedDAO.php
@@ -191,7 +191,7 @@ class FreshRSS_FeedDAO extends Minz_ModelPdo {
$res = $stm->fetchAll(PDO::FETCH_ASSOC);
$feed = current(self::daoToFeed($res));
- if (isset($feed)) {
+ if (isset($feed) && $feed !== false) {
return $feed;
} else {
return null;