1
This commit is contained in:
@@ -165,8 +165,9 @@ class Context extends BaseContext
|
|||||||
if (!isset(static::$_contents[$id])) {
|
if (!isset(static::$_contents[$id])) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!empty($key) && !isset(static::$_contents[$id][$key])) {
|
$value = static::$_contents[$id];
|
||||||
return false;
|
if (!empty($key) && is_array($value)) {
|
||||||
|
return isset($value[$key]);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user