From a69dee02b85f3773b4c166fde2f83755fb8c6ec8 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sun, 2 May 2010 20:14:46 -0600 Subject: [PATCH] PHP 5.2 fix --- imp/lib/Indices.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } -- 2.11.0