Skip to content

Commit a655736

Browse files
committed
Merge branch 'master' of github.com:mintyphp/core
2 parents a34f023 + 11d514d commit a655736

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private static function resolvePath($path, $data)
184184
{
185185
$current = $data;
186186
foreach (explode('.', $path) as $p) {
187-
if (!isset($current[$p])) {
187+
if (!array_key_exists($p, $current)) {
188188
throw new \Exception("path '$p' not found");
189189
}
190190
$current = &$current[$p];

0 commit comments

Comments
 (0)