Commit 44273f07 by Alexander Makarov

Revert "Merge pull request #3445 from Alex-Code/getValue"

This reverts commit a5846fa2, reversing changes made to 2a6e064a.
parent a5846fa2
...@@ -181,7 +181,7 @@ class BaseArrayHelper ...@@ -181,7 +181,7 @@ class BaseArrayHelper
$key = substr($key, $pos + 1); $key = substr($key, $pos + 1);
} }
if (is_object($array) && isset($array->$key)) { if (is_object($array)) {
return $array->$key; return $array->$key;
} elseif (is_array($array)) { } elseif (is_array($array)) {
return array_key_exists($key, $array) ? $array[$key] : $default; return array_key_exists($key, $array) ? $array[$key] : $default;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment