diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-08 00:22:17 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-08 00:22:17 +0000 |
commit | baa448eb24a1d0f94c6536e512ee0ede0b4d0c32 (patch) | |
tree | 3c55be90338b930ce0e37c0f14680079ebb70959 | |
parent | 23e6e0d92e1fd6efb62c7b6ed7a455bf98be43ea (diff) | |
download | brdo-baa448eb24a1d0f94c6536e512ee0ede0b4d0c32.tar.gz brdo-baa448eb24a1d0f94c6536e512ee0ede0b4d0c32.tar.bz2 |
- Patch #851058 by boombatower: fixed DOMDocument::loadHTML() fails.
-rw-r--r-- | modules/simpletest/simpletest.install | 2 |
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( |