From baa448eb24a1d0f94c6536e512ee0ede0b4d0c32 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 8 Oct 2010 00:22:17 +0000 Subject: - Patch #851058 by boombatower: fixed DOMDocument::loadHTML() fails. --- modules/simpletest/simpletest.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/simpletest.install b/modules/simpletest/simpletest.install index 01c892b33..cd6196999 100644 --- a/modules/simpletest/simpletest.install +++ b/modules/simpletest/simpletest.install @@ -37,7 +37,7 @@ function simpletest_requirements($phase) { $has_curl = function_exists('curl_init'); $has_hash = function_exists('hash_hmac'); - $has_domdocument = class_exists('DOMDocument'); + $has_domdocument = method_exists('DOMDocument', 'loadHTML'); $open_basedir = ini_get('open_basedir'); $requirements['curl'] = array( -- cgit v1.2.3