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