summaryrefslogtreecommitdiff
path: root/modules/help/help.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/help/help.test')
-rw-r--r--modules/help/help.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/help/help.test b/modules/help/help.test
index 4cc73c181..be269085c 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -81,7 +81,7 @@ class HelpTestCase extends DrupalWebTestCase {
$this->modules = array();
$result = db_query("SELECT name, filename, info FROM {system} WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC");
foreach ($result as $module) {
- if (file_exists($module->filename) && function_exists($module->name . '_help')) {
+ if (file_exists($module->filename) && drupal_function_exists($module->name . '_help')) {
$fullname = unserialize($module->info);
$this->modules[$module->name] = $fullname['name'];
}