See also: #552, #560, #570
----------------------------------------
* CRM-12370: CRM_Utils_Hook::requireCiviModules() assigns infinite weight to extensions
http://issues.civicrm.org/jira/browse/CRM-12370
}
// we should add civicrm's module's just after main civicrm drupal module
+ // Note: Assume that drupalModules and civiModules may each be array() or NULL
if ($this->drupalModules !== NULL) {
foreach ($this->drupalModules as $moduleName) {
$this->allModules[$moduleName] = $moduleName;
}
}
}
+ } else {
+ $this->allModules = (array) $this->civiModules;
}
if ($this->drupalModules !== NULL && $this->civiModules !== NULL) {