From b739d502f580988ba61c43b33dfa0026cbdfe4ac Mon Sep 17 00:00:00 2001 From: real_nowhereman Date: Fri, 8 Oct 2010 18:01:59 +0000 Subject: [PATCH] attempt to fix backslash problem (not tested) --- fp-includes/core/core.draft.php | 2 +- fp-includes/core/core.entry.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fp-includes/core/core.draft.php b/fp-includes/core/core.draft.php index 1192552..3602c14 100644 --- a/fp-includes/core/core.draft.php +++ b/fp-includes/core/core.draft.php @@ -76,7 +76,7 @@ } - function draft_save($entry, $id=null, $update_index = false, $update_date=false) { + function draft_save(&$entry, $id=null, $update_index = false, $update_date=false) { if (!$id) { $id = bdb_idfromtime('entry', $entry['date']); diff --git a/fp-includes/core/core.entry.php b/fp-includes/core/core.entry.php index 179a678..678a85d 100755 --- a/fp-includes/core/core.entry.php +++ b/fp-includes/core/core.entry.php @@ -695,7 +695,7 @@ } // @TODO : check against schema ? - function entry_prepare($entry) { // prepare for serialization + function entry_prepare(&$entry) { // prepare for serialization global $post; // fill in missing value