From eec0dbf7387db818fbee4f4cd8c2e96af73c8418 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 24 Feb 2016 07:20:23 +0100 Subject: [PATCH 1/2] Bugfix: Resharing on the display page works again. --- mod/display.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mod/display.php b/mod/display.php index 4e33927072..e088b2fbbd 100644 --- a/mod/display.php +++ b/mod/display.php @@ -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); From 99bac3a4d8cc75651b3efaf6fe55f2b7eb4fc95b Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Wed, 24 Feb 2016 07:22:32 +0100 Subject: [PATCH 2/2] Corrected explanation --- mod/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/display.php b/mod/display.php index e088b2fbbd..97261e267d 100644 --- a/mod/display.php +++ b/mod/display.php @@ -347,7 +347,7 @@ function display_content(&$a, $update = 0) { return; } - // We meed the editor here if we want to reshare an item. + // We need the editor here to be able to reshare an item. if ($is_owner) { $x = array(