зеркало из
https://github.com/nextcloud/server.git
synced 2024-07-30 20:16:04 +02:00
ne need to check twice if $row['share_with'] is set
Этот коммит содержится в:
родитель
dd9dfc4461
Коммит
a288d0eea3
@ -1705,7 +1705,7 @@ class Share extends Constants {
|
||||
// Add display names to result
|
||||
$row['share_with_displayname'] = $row['share_with'];
|
||||
if ( isset($row['share_with']) && $row['share_with'] != '' &&
|
||||
isset($row['share_with']) && $row['share_type'] === self::SHARE_TYPE_USER) {
|
||||
$row['share_type'] === self::SHARE_TYPE_USER) {
|
||||
$row['share_with_displayname'] = \OCP\User::getDisplayName($row['share_with']);
|
||||
} else if(isset($row['share_with']) && $row['share_with'] != '' &&
|
||||
$row['share_type'] === self::SHARE_TYPE_REMOTE) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user