Skip to content
Snippets Groups Projects
Commit 3fbd8749 authored by Beau Simensen's avatar Beau Simensen Committed by GitHub
Browse files

Merge pull request #7 from grasmash/master

Fixing has() to recognize keys with null value.
parents 9c253bb1 c93ea4af
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ class Data implements DataInterface
$currentKey = $keyPath[$i];
if (
!is_array($currentValue) ||
!isset($currentValue[$currentKey])
!array_key_exists($currentKey, $currentValue)
) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment