From 8c72acbacb8fd4da39d505e8ac52e7e0cceed418 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Wed, 13 Mar 2013 19:09:29 +0100 Subject: Suppression code HTML inutile + amélioration CSS + restructuration du layout + correction bug mise à jour d'articles lorsqu'on visualise une catégorie MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/Entry.php') diff --git a/app/models/Entry.php b/app/models/Entry.php index f2aebbd24..2725d265d 100755 --- a/app/models/Entry.php +++ b/app/models/Entry.php @@ -297,7 +297,7 @@ class EntryDAO extends Model_pdo { $deb = ($this->currentPage - 1) * $this->nbItemsPerPage; $fin = $this->nbItemsPerPage; - $sql = 'SELECT * FROM entry e INNER JOIN feed f ON e.id_feed = f.id' . $where + $sql = 'SELECT e.* FROM entry e INNER JOIN feed f ON e.id_feed = f.id' . $where . ' ORDER BY date' . $order . ' LIMIT ' . $deb . ', ' . $fin; -- cgit v1.2.3