diff options
| author | 2013-05-02 23:28:04 +0200 | |
|---|---|---|
| committer | 2013-05-02 23:28:04 +0200 | |
| commit | 22e9fb02f838e2b6ac8c5dd504fad0446c5807dc (patch) | |
| tree | 78b07eaa7fdc9bde1bf2ecd11e65f22afdcc8944 | |
| parent | 91281814757239c1bfe67e93edfbb6cabe8d0a65 (diff) | |
Correction bug lors de la recherche d'un article (EntryDAO->searchById())
| -rwxr-xr-x | app/models/Entry.php | 2 |
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]; |
