diff options
| author | 2013-09-04 20:22:49 +0200 | |
|---|---|---|
| committer | 2013-09-04 20:22:49 +0200 | |
| commit | e15b7fd6ec5ae770ce232b2a0cea7b281254d96e (patch) | |
| tree | 09bea912605fc6525a2d67e394a455198582494b | |
| parent | cf62bcd3d31a801a16a06608b6a953613f68fbde (diff) | |
Correct bug: last category was not shown
| -rwxr-xr-x | app/models/Category.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/Category.php b/app/models/Category.php index 1e9ec9e80..362bce621 100755 --- a/app/models/Category.php +++ b/app/models/Category.php @@ -281,6 +281,9 @@ class HelperCategory { $line = $listDAO[$i]; $cat_id = $line['c_id']; if (($i > 0) && (($cat_id !== $previousLine['c_id']) || ($i === $nbLinesMinus1))) { //End of current category + if ($i === $nbLinesMinus1) { //End of table + $feedsDao[] = $line; + } $cat = new Category ( $previousLine['c_name'], $previousLine['c_color'], |
