Browse Source

Merge pull request #2380 from annando/issue-2373

Bugfix: Resharing on the display page works again.
pull/2383/head
Tobias Diekershoff 6 years ago
parent
commit
a2ed74e17f
  1. 7
      mod/display.php

7
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 need the editor here to be able 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);

Loading…
Cancel
Save