Bugfix: Resharing on the display page works again.
This commit is contained in:
parent
507f8ab4df
commit
eec0dbf738
1 changed files with 2 additions and 5 deletions
|
@ -347,10 +347,8 @@ function display_content(&$a, $update = 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Why do we need this on the display page? We don't have the possibility to write new content here.
|
// We meed the editor here if we want to reshare an item.
|
||||||
// Ad editing of posts work without this as well.
|
|
||||||
// We should remove this completely for the 3.5.1 release.
|
|
||||||
/*
|
|
||||||
if ($is_owner) {
|
if ($is_owner) {
|
||||||
$x = array(
|
$x = array(
|
||||||
'is_owner' => true,
|
'is_owner' => true,
|
||||||
|
@ -366,7 +364,6 @@ function display_content(&$a, $update = 0) {
|
||||||
);
|
);
|
||||||
$o .= status_editor($a,$x,0,true);
|
$o .= status_editor($a,$x,0,true);
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
$sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups);
|
$sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue