summaryrefslogtreecommitdiff
path: root/modules/help
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 03:39:57 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-03-08 03:39:57 +0000
commit6b07c32e80b3d2fd7d7dd8db73e237f6f4c6aabf (patch)
tree4b59600968de783359c917b8f25c1f95ebd9c267 /modules/help
parentb179a944a36df0196a8f8ab9209eb96c1c936d8a (diff)
downloadbrdo-6b07c32e80b3d2fd7d7dd8db73e237f6f4c6aabf.tar.gz
brdo-6b07c32e80b3d2fd7d7dd8db73e237f6f4c6aabf.tar.bz2
#394460 by Crell: DBTNGify Help module.
Diffstat (limited to 'modules/help')
-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 64e960180..0c833f4e3 100644
--- a/modules/help/help.test
+++ b/modules/help/help.test
@@ -74,7 +74,7 @@ class HelpTestCase extends DrupalWebTestCase {
private function getModuleList() {
$this->modules = array();
$result = db_query("SELECT name, filename, info FROM {system} WHERE type = 'module' AND status = 1 ORDER BY weight ASC, filename ASC");
- while ($module = db_fetch_object($result)) {
+ foreach ($result as $module) {
if (file_exists($module->filename)) {
$fullname = unserialize($module->info);
$this->modules[$module->name] = $fullname['name'];