small fix
This commit is contained in:
parent
e56b83ccb3
commit
c40aa24a96
@ -74,7 +74,7 @@ class OnStuntEventStructure extends BasePlayerTimeStructure {
|
||||
public function getStuntsScore() {
|
||||
return $this->stuntsScore;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @api
|
||||
* @return mixed
|
||||
|
@ -1013,6 +1013,11 @@ class MapManager implements CallbackListener, CommunicationListener, UsageInform
|
||||
private function searchMaps($searchString, $searchBy = self::SEARCH_BY_MAP_NAME) {
|
||||
$result = array();
|
||||
$searchString = strtolower($searchString);
|
||||
|
||||
if($searchString == ''){
|
||||
return $result;
|
||||
}
|
||||
|
||||
foreach ($this->maps as $map) {
|
||||
switch ($searchBy) {
|
||||
case self::SEARCH_BY_MAP_NAME:
|
||||
|
Loading…
Reference in New Issue
Block a user