From bd87798d9b8654eecd0c676c599641e1a610a058 Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Sun, 4 Jan 2009 19:03:00 +0000 Subject: [PATCH] global $post when saving...; this code needs a cleanup for consistence --- fp-includes/core/core.entry.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fp-includes/core/core.entry.php b/fp-includes/core/core.entry.php index a259510..b6f916d 100755 --- a/fp-includes/core/core.entry.php +++ b/fp-includes/core/core.entry.php @@ -622,6 +622,8 @@ } function entry_save($entry_cont, $id=null, $update_index = true) { + + global $post; $obj =& entry_init(); @@ -629,6 +631,8 @@ $entry_cont['date']=date_time(); } + $post = $entry_cont; + $entry = array_change_key_case($entry_cont, CASE_UPPER); if (!$id) {