From 03c1e5233e8ac63ab935b19a018040317e03b1a4 Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Thu, 18 Nov 2010 10:07:51 -0500 Subject: [PATCH] This typehint breaks passing the variable by reference --- 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 e44a8221a..896c141e1 100644 --- a/framework/Util/lib/Horde/Array.php +++ b/framework/Util/lib/Horde/Array.php @@ -120,7 +120,7 @@ class Horde_Array * * @return boolean True on sucess, false on error. */ - static public function getArrayParts($field, &$base, array &$keys) + static public function getArrayParts($field, &$base, &$keys) { if (!preg_match('|([^\[]*)((\[[^\[\]]*\])+)|', $field, $matches)) { return false; -- 2.11.0