diff options
| author | 2013-11-04 20:48:38 +0100 | |
|---|---|---|
| committer | 2013-11-04 23:34:07 +0100 | |
| commit | 5e1109312044b41932e14eb2e8e9ad9497d2ac61 (patch) | |
| tree | ee2bf0d13cc40ceb28bab7423c9f896574f60645 /app/models/Category.php | |
| parent | 4a999fb6286bafcd070a1ebe53ceb5effacc8b59 (diff) | |
Détails : blancs
Suppression des blancs en fin de ligne
Diffstat (limited to 'app/models/Category.php')
| -rwxr-xr-x | app/models/Category.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/Category.php b/app/models/Category.php index ebe55a837..7659e68f6 100755 --- a/app/models/Category.php +++ b/app/models/Category.php @@ -37,7 +37,7 @@ class Category extends Model { } public function nbFeed () { if ($this->nbFeed < 0) { - $catDAO = new CategoryDAO (); + $catDAO = new CategoryDAO (); $this->nbFeed = $catDAO->countFeed ($this->id ()); } @@ -45,7 +45,7 @@ class Category extends Model { } public function nbNotRead () { if ($this->nbNotRead < 0) { - $catDAO = new CategoryDAO (); + $catDAO = new CategoryDAO (); $this->nbNotRead = $catDAO->countNotRead ($this->id ()); } @@ -181,7 +181,7 @@ class CategoryDAO extends Model_pdo { . 'COUNT(CASE WHEN e.is_read = 0 THEN 1 END) AS nbNotRead, ' . 'COUNT(e.id) AS nbEntries, ' . 'f.* ' - . 'FROM ' . $this->prefix . 'category c ' + . 'FROM ' . $this->prefix . 'category c ' . 'LEFT OUTER JOIN ' . $this->prefix . 'feed f ON f.category = c.id ' . 'LEFT OUTER JOIN ' . $this->prefix . 'entry e ON e.id_feed = f.id ' . 'GROUP BY f.id ' @@ -290,7 +290,7 @@ class HelperCategory { $cat->_id ($previousLine['c_id']); $list[] = $cat; - $feedsDao = array(); //Prepare for next category + $feedsDao = array(); //Prepare for next category } $previousLine = $line; |
