aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-28 03:18:26 -0700
committerfriendica <info@friendica.com>2012-03-28 03:18:26 -0700
commitb18086097e6ffd6f8b456ac27af1de16ad2977a1 (patch)
tree4f21e561a57660793f75a002fcaf57ee14fc8c1e /mod
parent7fc57f486fb91da67c190ef8563d872a3570ded6 (diff)
downloadvolse-hubzilla-b18086097e6ffd6f8b456ac27af1de16ad2977a1.tar.gz
volse-hubzilla-b18086097e6ffd6f8b456ac27af1de16ad2977a1.tar.bz2
volse-hubzilla-b18086097e6ffd6f8b456ac27af1de16ad2977a1.zip
title not updated when editing post
Diffstat (limited to 'mod')
-rwxr-xr-xmod/item.php2
1 files changed, 1 insertions, 1 deletions
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'];