attempt to fix backslash problem (not tested)
This commit is contained in:
parent
44257345c9
commit
b739d502f5
@ -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) {
|
if (!$id) {
|
||||||
$id = bdb_idfromtime('entry', $entry['date']);
|
$id = bdb_idfromtime('entry', $entry['date']);
|
||||||
|
@ -695,7 +695,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// @TODO : check against schema ?
|
// @TODO : check against schema ?
|
||||||
function entry_prepare($entry) { // prepare for serialization
|
function entry_prepare(&$entry) { // prepare for serialization
|
||||||
global $post;
|
global $post;
|
||||||
|
|
||||||
// fill in missing value
|
// fill in missing value
|
||||||
|
Loading…
x
Reference in New Issue
Block a user