fixed $post global
This commit is contained in:
parent
f78ccc1813
commit
bdf98d0d7f
@ -396,7 +396,7 @@
|
|||||||
$cont['comments'] = $this->comments->getCount();
|
$cont['comments'] = $this->comments->getCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
$post =& $cont;
|
$post = $cont;
|
||||||
$post['id'] = $id;
|
$post['id'] = $id;
|
||||||
|
|
||||||
$var = array(&$id, &$cont);
|
$var = array(&$id, &$cont);
|
||||||
@ -787,8 +787,6 @@
|
|||||||
$id =& $couplet[0];
|
$id =& $couplet[0];
|
||||||
$entry =& $couplet[1];
|
$entry =& $couplet[1];
|
||||||
|
|
||||||
global $post; $post = $entry;
|
|
||||||
|
|
||||||
if (THEME_LEGACY_MODE) {
|
if (THEME_LEGACY_MODE) {
|
||||||
$entry = theme_entry_filters($entry, $id);
|
$entry = theme_entry_filters($entry, $id);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user