mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 18:44:26 +02:00
Make posts on the profile page writable
This commit is contained in:
parent
24ecf5954c
commit
9c73e49db7
2 changed files with 3 additions and 3 deletions
|
@ -80,7 +80,7 @@ class Thread
|
|||
break;
|
||||
case 'profile':
|
||||
$this->profile_owner = $a->getProfileOwner();
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner);
|
||||
$this->writable = Security::canWriteToUserWall($this->profile_owner) || $writable;
|
||||
break;
|
||||
case 'display':
|
||||
$this->profile_owner = $a->getProfileOwner();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue