From 349529ba3399d7d0b3039522a66a0f36e8f1a50b Mon Sep 17 00:00:00 2001 From: Joseph McGuire Date: Mon, 26 Mar 2012 13:52:21 +0000 Subject: [PATCH] Issue #1105064: Fixes use of call_user_func_array failing in PHP 5.3.10 which is causing tests to fail. --- tests/filefield.test | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/filefield.test b/tests/filefield.test index db01375..6564f53 100644 --- a/tests/filefield.test +++ b/tests/filefield.test @@ -10,7 +10,7 @@ class FileFieldTestCase extends DrupalWebTestCase { // Views is included here just so that it doesn't whine when CCK tries to // clear the caches. $modules = array_merge(func_get_args(), array('content', 'filefield', 'filefield_meta', 'getid3', 'mimedetect', 'token', 'views')); - call_user_func_array(array($this, 'parent::setUp'), $modules); + call_user_func_array(array('parent', 'setUp'), $modules); // Create and login user $this->admin_user = $this->drupalCreateUser(array('access administration pages', 'administer site configuration', 'administer content types', 'administer nodes', 'administer files')); -- 1.7.8.2