From: Michael M Slusarz Date: Mon, 3 May 2010 02:14:46 +0000 (-0600) Subject: PHP 5.2 fix X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a69dee02b85f3773b4c166fde2f83755fb8c6ec8;p=horde.git PHP 5.2 fix --- diff --git a/imp/lib/Indices.php b/imp/lib/Indices.php index 6768e9c32..69d601e92 100644 --- a/imp/lib/Indices.php +++ b/imp/lib/Indices.php @@ -30,7 +30,8 @@ class IMP_Indices implements Iterator public function __construct() { if (func_num_args()) { - call_user_func_array(array($this, 'add'), func_get_args()); + $args = func_get_args(); + call_user_func_array(array($this, 'add'), $args); } }