We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6dd565 commit 8bd750fCopy full SHA for 8bd750f
1 file changed
system/Helpers/array_helper.php
@@ -48,7 +48,7 @@ function _array_search_dot(array $indexes, array $array)
48
// Grab the current index
49
$currentIndex = $indexes ? array_shift($indexes) : null;
50
51
- if ((empty($currentIndex) && (int) $currentIndex !== 0) || (! isset($array[$currentIndex]) && $currentIndex !== '*')) {
+ if (empty($currentIndex) || (! isset($array[$currentIndex]) && $currentIndex !== '*')) {
52
return null;
53
}
54
0 commit comments