mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #52254 from nextcloud/backport/52252/stable31
[stable31] fix(Log): revert swich to ?? operator
This commit is contained in:
commit
aa584f990b
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ abstract class LogDetails {
|
|||
$url = ($request->getRequestUri() !== '') ? $request->getRequestUri() : '--';
|
||||
$method = is_string($request->getMethod()) ? $request->getMethod() : '--';
|
||||
if ($this->config->getValue('installed', false)) {
|
||||
$user = \OC_User::getUser() ?? '--';
|
||||
$user = \OC_User::getUser() ?: '--';
|
||||
} else {
|
||||
$user = '--';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue