Proper variable referencing to make the 'entry_groupdata' hook work
This commit is contained in:
parent
c2fd64dcf0
commit
79c98feb26
@ -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'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user