diff options
| -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'], |
