From 79c98feb2666166a569c9efda1aba98b470e5e0c Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Sun, 28 Jun 2009 16:44:43 +0000 Subject: [PATCH] Proper variable referencing to make the 'entry_groupdata' hook work --- include/functions_entries.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/functions_entries.inc.php b/include/functions_entries.inc.php index 0ccc4e40..ee40d67b 100644 --- a/include/functions_entries.inc.php +++ b/include/functions_entries.inc.php @@ -1031,7 +1031,9 @@ function serendipity_printEntries($entries, $extended = 0, $preview = false, $sm if ($smarty_fetch === 'return') { $entry = &$dategroup[$dategroup_idx]['entries'][$x]; // PHP4 Compat } else { - $entry = &$properties['entries'][$x]; // PHP4 Compat + // DISABLED - made problems with custom plugins + // $entry = &$properties['entries'][$x]; // PHP4 Compat + $entry = &$dategroup[$dategroup_idx]['entries'][$x]; // PHP4 Compat } if (!empty($entry['properties']['ep_cache_body'])) {