From: Michael M Slusarz Date: Wed, 24 Nov 2010 22:42:24 +0000 (-0700) Subject: Partial revert of 32a4f6ed963f7b08dec90285b09a3c170b7ca09f X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=6a967c3876f22deb0859077b7fdcc60175cad2e1;p=horde.git Partial revert of 32a4f6ed963f7b08dec90285b09a3c170b7ca09f The last internal recursive call to the function will most likely not be an array - so we can't typehint. --- diff --git a/framework/Util/lib/Horde/Array.php b/framework/Util/lib/Horde/Array.php index ba1fa469c..ecdb753ec 100644 --- a/framework/Util/lib/Horde/Array.php +++ b/framework/Util/lib/Horde/Array.php @@ -145,7 +145,7 @@ class Horde_Array * * @return mixed The final value of the key path. */ - static public function getElement(array &$array, array &$keys, $value = null) + static public function getElement(&$array, array &$keys, $value = null) { if (count($keys)) { $key = array_shift($keys);