mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-01-17 13:28:35 +01:00
Check if key exists
This commit is contained in:
parent
8d00a2ac74
commit
3f4680643a
@ -65,7 +65,7 @@ class RedisStorage implements StorageInterface
|
|||||||
|
|
||||||
protected function filter($meta, $filters){
|
protected function filter($meta, $filters){
|
||||||
foreach($filters as $key => $value){
|
foreach($filters as $key => $value){
|
||||||
if(fnmatch ($value, $meta[$key]) === false){
|
if(!isset($meta[$key]) || fnmatch ($value, $meta[$key]) === false){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user