Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

Commit 31cb4fe

Browse files
committed
fix listing user on 8.2.5
1 parent ff5d935 commit 31cb4fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/core/src/pydio/Core/Model/FilteredUsersList.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,10 @@ public function load($filterValue, $allowCreation = true, $searchQuery = '', $gr
379379
$searchLimit = min($end - $offset, $this->getConf('USERS_LIST_COMPLETE_LIMIT'));
380380
}
381381
$baseGroup = $this->computeBaseGroup($groupPathFilter, $searchQuery);
382-
$baseGroup = rtrim($baseGroup, '/');
383-
382+
if ($baseGroup != '/'){
383+
$baseGroup = rtrim($baseGroup, '/');
384+
}
385+
384386
if(!empty($searchQuery)) {
385387
$regexp = '^'.$searchQuery;
386388
$pregexp = '/^'.preg_quote($searchQuery).'/i';

0 commit comments

Comments
 (0)