Proper variable referencing to make the 'entry_groupdata' hook work

This commit is contained in:
Garvin Hicking 2009-06-28 16:44:43 +00:00
parent c2fd64dcf0
commit 79c98feb26

View File

@ -1031,7 +1031,9 @@ function serendipity_printEntries($entries, $extended = 0, $preview = false, $sm
if ($smarty_fetch === 'return') { if ($smarty_fetch === 'return') {
$entry = &$dategroup[$dategroup_idx]['entries'][$x]; // PHP4 Compat $entry = &$dategroup[$dategroup_idx]['entries'][$x]; // PHP4 Compat
} else { } 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'])) { if (!empty($entry['properties']['ep_cache_body'])) {