From 5fdff4c671a1e3e4e3258c614d5ff23b6a297554 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Thu, 7 Aug 2014 10:53:18 +0200 Subject: [PATCH] Bugfix for not properly setting entry.cats in entry overview References #201 --- docs/NEWS | 3 +++ include/admin/entries.inc.php | 1 + 2 files changed, 4 insertions(+) diff --git a/docs/NEWS b/docs/NEWS index 376d9408..cdf1369a 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,9 @@ Version 2.0-beta4 / RC? () ------------------------------------------------------------------------ + * Fix bug in entry listing, which showed wrong categories for + entries (Issue #201) + * Improve RegExp for Feed-URL matching, thanks to fugue88 Version 2.0-beta3 (July 25th, 2014) diff --git a/include/admin/entries.inc.php b/include/admin/entries.inc.php index e8bd9927..6f4306d9 100644 --- a/include/admin/entries.inc.php +++ b/include/admin/entries.inc.php @@ -315,6 +315,7 @@ switch($serendipity['GET']['adminAction']) { $smartentries = array(); foreach ($entries as $ey) { + $entry_cats = ''; if (count($ey['categories'])) { $cats = array(); foreach ($ey['categories'] as $cat) {