1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 05:18:32 +01:00

Check if key exists

This commit is contained in:
Barry vd. Heuvel 2014-01-14 10:09:41 +01:00
parent 8d00a2ac74
commit 3f4680643a

View File

@ -65,7 +65,7 @@ class RedisStorage implements StorageInterface
protected function filter($meta, $filters){
foreach($filters as $key => $value){
if(fnmatch ($value, $meta[$key]) === false){
if(!isset($meta[$key]) || fnmatch ($value, $meta[$key]) === false){
return false;
}
}