PHP 5.2 fix
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 3 May 2010 02:14:46 +0000 (20:14 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 3 May 2010 02:14:46 +0000 (20:14 -0600)
imp/lib/Indices.php

index 6768e9c..69d601e 100644 (file)
@@ -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);
         }
     }