Correction bug lors de la recherche d'un article (EntryDAO->searchById())

This commit is contained in:
Marien Fressinaud committed 2013-05-02 23:28:04 +02:00
1 parent 9128181475
commit 22e9fb02f8
1 file changed
+1 -1
+1 -1
View File
@@ -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];