A free, self-hostable news aggregator…
Correction bug lors de la recherche d'un article (EntryDAO->searchById())
Marien Fressinaud22e9fb02f838
diff --git a/app/models/Entry.php b/app/models/Entry.phpindex ef1c567e8..f49e74239 100755--- a/app/models/Entry.php+++ b/app/models/Entry.php@@ -368,7 +368,7 @@ class EntryDAO extends Model_pdo {$stm->execute ($values);$res = $stm->fetchAll (PDO::FETCH_ASSOC);- $entry = HelperEntry::daoToEntry ($res);+ list ($entry, $next) = HelperEntry::daoToEntry ($res);if (isset ($entry[0])) {return $entry[0];