]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: Resharing on the display page works again.
authorMichael Vogel <icarus@dabo.de>
Wed, 24 Feb 2016 06:20:23 +0000 (07:20 +0100)
committerMichael Vogel <icarus@dabo.de>
Wed, 24 Feb 2016 06:20:23 +0000 (07:20 +0100)
mod/display.php

index 4e33927072bdf8123e17abc7a485a22dd768666a..e088b2fbbd92e49078464586a16f40b16b0f36b0 100644 (file)
@@ -347,10 +347,8 @@ function display_content(&$a, $update = 0) {
                return;
        }
 
-       // Why do we need this on the display page? We don't have the possibility to write new content here.
-       // Ad editing of posts work without this as well.
-       // We should remove this completely for the 3.5.1 release.
-       /*
+       // We meed the editor here if we want to reshare an item.
+
        if ($is_owner) {
                $x = array(
                        'is_owner' => true,
@@ -366,7 +364,6 @@ function display_content(&$a, $update = 0) {
                );
                $o .= status_editor($a,$x,0,true);
        }
-       */
 
        $sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups);