mirror of
https://github.com/friendica/friendica
synced 2025-04-25 17:10:11 +00:00
Some more index / fatal erros fixed
This commit is contained in:
parent
bb52e5a804
commit
3e2c684319
5 changed files with 5 additions and 2 deletions
|
@ -40,7 +40,7 @@ class Profile extends BaseModule
|
|||
$a = DI::app();
|
||||
|
||||
// Ensure we've got a profile owner if updating.
|
||||
$a->setProfileOwner($_GET['p'] ?? 0);
|
||||
$a->setProfileOwner((int)($_GET['p'] ?? 0));
|
||||
|
||||
if (DI::config()->get('system', 'block_public') && !local_user() && !Session::getRemoteContactID($a->getProfileOwner())) {
|
||||
throw new ForbiddenException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue