Partial revert of 32a4f6ed963f7b08dec90285b09a3c170b7ca09f
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 24 Nov 2010 22:42:24 +0000 (15:42 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 25 Nov 2010 03:43:38 +0000 (20:43 -0700)
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

index ba1fa46..ecdb753 100644 (file)
@@ -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);