From 6a967c3876f22deb0859077b7fdcc60175cad2e1 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Wed, 24 Nov 2010 15:42:24 -0700 Subject: [PATCH] Partial revert of 32a4f6ed963f7b08dec90285b09a3c170b7ca09f The last internal recursive call to the function will most likely not be an array - so we can't typehint. --- framework/Util/lib/Horde/Array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0