diff options
author | friendica <info@friendica.com> | 2012-02-09 15:58:26 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-02-09 15:58:26 -0800 |
commit | 7b0a005441a6abc3d4c327965e86ac82d2ec4db3 (patch) | |
tree | 6a3e8ff87b05292328f6ef2533585331f252eedd /mod/item.php | |
parent | 795e02aa1490f6238e6ed719a0bf3604931eec3d (diff) | |
download | volse-hubzilla-7b0a005441a6abc3d4c327965e86ac82d2ec4db3.tar.gz volse-hubzilla-7b0a005441a6abc3d4c327965e86ac82d2ec4db3.tar.bz2 volse-hubzilla-7b0a005441a6abc3d4c327965e86ac82d2ec4db3.zip |
edit post not working after plaintext editor fixes, missing some recent editor template changes
Diffstat (limited to 'mod/item.php')
-rwxr-xr-x | mod/item.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php index 217f13c49..d5dcfccbd 100755 --- a/mod/item.php +++ b/mod/item.php @@ -649,7 +649,8 @@ function item_post(&$a) { if($orig_post) { - $r = q("UPDATE `item` SET `body` = '%s', `edited` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", + $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s', `edited` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", + dbesc($title), dbesc($body), dbesc(datetime_convert()), intval($post_id), |