summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-02 23:28:04 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-02 23:28:04 +0200
commit22e9fb02f838e2b6ac8c5dd504fad0446c5807dc (patch)
tree78b07eaa7fdc9bde1bf2ecd11e65f22afdcc8944
parent91281814757239c1bfe67e93edfbb6cabe8d0a65 (diff)
Correction bug lors de la recherche d'un article (EntryDAO->searchById())
-rwxr-xr-xapp/models/Entry.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/Entry.php b/app/models/Entry.php
index 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];