small fix

This commit is contained in:
kremsy 2017-05-06 10:54:19 +02:00
parent e56b83ccb3
commit c40aa24a96
2 changed files with 6 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class OnStuntEventStructure extends BasePlayerTimeStructure {
public function getStuntsScore() {
return $this->stuntsScore;
}
/**
* @api
* @return mixed

View File

@ -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: