From b18086097e6ffd6f8b456ac27af1de16ad2977a1 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 28 Mar 2012 03:18:26 -0700 Subject: title not updated when editing post --- mod/item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/item.php b/mod/item.php index 5baae2bde..24730f53e 100755 --- a/mod/item.php +++ b/mod/item.php @@ -171,13 +171,13 @@ function item_post(&$a) { $str_contact_allow = $orig_post['allow_cid']; $str_group_deny = $orig_post['deny_gid']; $str_contact_deny = $orig_post['deny_cid']; - $title = $orig_post['title']; $location = $orig_post['location']; $coord = $orig_post['coord']; $verb = $orig_post['verb']; $emailcc = $orig_post['emailcc']; $app = $orig_post['app']; $categories = $orig_post['file']; + $title = notags(trim($_REQUEST['title'])); $body = escape_tags(trim($_REQUEST['body'])); $private = $orig_post['private']; $pubmail_enable = $orig_post['pubmail']; -- cgit v1.2.3