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

pull/136/head
Marien Fressinaud 12 years ago
parent 9128181475
commit 22e9fb02f8
  1. 2
      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];

Loading…
Cancel
Save