From bdf98d0d7f620318eb39a871ff17ea014aaa623e Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Wed, 24 Sep 2008 17:17:39 +0000 Subject: [PATCH] fixed $post global --- fp-includes/core/core.fpdb.class.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fp-includes/core/core.fpdb.class.php b/fp-includes/core/core.fpdb.class.php index 5a3f062..871c69a 100644 --- a/fp-includes/core/core.fpdb.class.php +++ b/fp-includes/core/core.fpdb.class.php @@ -396,7 +396,7 @@ $cont['comments'] = $this->comments->getCount(); } - $post =& $cont; + $post = $cont; $post['id'] = $id; $var = array(&$id, &$cont); @@ -787,8 +787,6 @@ $id =& $couplet[0]; $entry =& $couplet[1]; - global $post; $post = $entry; - if (THEME_LEGACY_MODE) { $entry = theme_entry_filters($entry, $id); }