summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/simpletest.install2
1 files changed, 1 insertions, 1 deletions
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(