From: friendica <info@friendica.com>
Date: Wed, 28 Mar 2012 10:18:26 +0000 (-0700)
Subject: title not updated when editing post
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b18086097e6ffd6f8b456ac27af1de16ad2977a1;p=friendica.git

title not updated when editing post
---

diff --git a/mod/item.php b/mod/item.php
index 5baae2bde7..24730f53ee 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'];
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 33be8b3590..c86df75f59 100755
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -275,7 +275,6 @@ div.wall-item-content-wrapper.shiny {
 	float: left;
 }
 
-
 #jot-title {
 	border: 0px;
 	margin: 0px;