mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
Merge pull request #39438 from nextcloud/backport/39309/stable25
[stable25] fix(profile): fix getUID on nullable user variable
This commit is contained in:
commit
a54fc0a8ff
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ class ProfileManager {
|
|||
return;
|
||||
}
|
||||
if (!$this->appManager->isEnabledForUser($action->getAppId(), $visitingUser)) {
|
||||
$this->logger->notice('App: ' . $action->getAppId() . ' cannot register actions as it is not enabled for the visiting user: ' . $visitingUser->getUID());
|
||||
$this->logger->notice('App: ' . $action->getAppId() . ' cannot register actions as it is not enabled for the visiting user: ' . ($visitingUser ? $visitingUser->getUID() : '(user not connected)'));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue