edit post not working after plaintext editor fixes, missing some recent editor template changes

This commit is contained in:
friendica
2012-02-09 15:58:26 -08:00
parent 795e02aa14
commit 7b0a005441
3 changed files with 16 additions and 7 deletions
+2 -1
View File
@@ -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),