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

Commit c494f59

Browse files
committed
Fix TeamsList searching
1 parent 07d8cdc commit c494f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/plugins/core.conf/class.AbstractConfDriver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ public function switchAction($action, $httpVars, $fileVars)
12101210
if($indexGroup == $limit) break;
12111211
}
12121212
}
1213-
if ($regexp == null && method_exists($this, "listUserTeams") && !$usersOnly) {
1213+
if (method_exists($this, "listUserTeams") && !$usersOnly) {
12141214
$teams = $this->listUserTeams();
12151215
foreach ($teams as $tId => $tData) {
12161216
if($regexp == null || preg_match($pregexp, $tData["LABEL"])){

0 commit comments

Comments
 (0)