]> git.mxchange.org Git - friendica.git/commitdiff
title not updated when editing post
authorfriendica <info@friendica.com>
Wed, 28 Mar 2012 10:18:26 +0000 (03:18 -0700)
committerfriendica <info@friendica.com>
Wed, 28 Mar 2012 10:18:26 +0000 (03:18 -0700)
mod/item.php
view/theme/duepuntozero/style.css

index 5baae2bde7673e120af4b6e8ddde49ac18aad0cf..24730f53ee5af8c94b16955744d47271bf6656ae 100755 (executable)
@@ -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'];
index 33be8b3590026d431736ec928ecb9ffa10e32b6b..c86df75f59e727ae38ece0ff3ef7aebc959530c2 100755 (executable)
@@ -275,7 +275,6 @@ div.wall-item-content-wrapper.shiny {
        float: left;
 }
 
-
 #jot-title {
        border: 0px;
        margin: 0px;