fixed $post global

This commit is contained in:
real_nowhereman 2008-09-24 17:17:39 +00:00
parent f78ccc1813
commit bdf98d0d7f

View File

@ -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);
} }