From b18086097e6ffd6f8b456ac27af1de16ad2977a1 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 28 Mar 2012 03:18:26 -0700 Subject: [PATCH] title not updated when editing post --- mod/item.php | 2 +- view/theme/duepuntozero/style.css | 1 - 2 files changed, 1 insertion(+), 2 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']; diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css index 33be8b359..c86df75f5 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;