From a67557ced1d70a7b9d9bca2f99671681fa9c5d37 Mon Sep 17 00:00:00 2001
From: Joseph McGuire <joseph.p.mcguire@googlemail.com>
Date: Mon, 26 Mar 2012 12:00:42 +0000
Subject: [PATCH] Issue #1502666: Fixes use of call_user_func_array failing in
 PHP 5.3.10 which is causing test
 FileFieldPathsUploadTestCase to fail.

---
 tests/filefield_paths.test |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/filefield_paths.test b/tests/filefield_paths.test
index 2e77f15..18e9ef1 100755
--- a/tests/filefield_paths.test
+++ b/tests/filefield_paths.test
@@ -13,7 +13,7 @@ class FileFieldPathsTestCase extends DrupalWebTestCase {
    */
   function setUp($modules = array(), $permissions = array()) {
     $modules = array_merge($modules, array('filefield_paths', 'token'));
-    call_user_func_array(array($this, 'parent::setUp'), $modules);
+    call_user_func_array(array('parent', 'setUp'), $modules);
 
     // Create and login user
     $permissions = array_merge($permissions, array('administer content types', 'administer nodes'));
-- 
1.7.8.2

