Suggestions broken wrong data issue

This commit is contained in:
cuneytsenturk 2018-06-13 15:07:43 +03:00
parent ee05d00404
commit 6e13645743

View File

@ -398,7 +398,7 @@ trait Modules
$data = $this->loadSuggestions();
}
if (array_key_exists($path, $data)) {
if (!empty($data) && array_key_exists($path, $data)) {
return $data[$path];
}