diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-02-13 09:46:42 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-02-13 09:46:42 +0100 |
commit | 850560519a4bbe9949368933e115f767aeb90b73 (patch) | |
tree | 6f162b4b0130a5f829d40f7ebd9d18442ad18921 /mod/item.php | |
parent | 16d3bc9deb5cb80f438a53f1bf483c79351674af (diff) | |
parent | 85c831bcbf6f4cc2793d91e4e3fb3da5828a3f60 (diff) | |
download | volse-hubzilla-850560519a4bbe9949368933e115f767aeb90b73.tar.gz volse-hubzilla-850560519a4bbe9949368933e115f767aeb90b73.tar.bz2 volse-hubzilla-850560519a4bbe9949368933e115f767aeb90b73.zip |
Merge remote-tracking branch 'friendica/master' into mobile
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), |