diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index b49d560..ef0fd7c 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -1054,10 +1054,9 @@ function drupal_load($type, $name) { $file = DRUPAL_ROOT . '/' . str_replace('info.yml', $type, $filename); if (file_exists($file)) { include_once $file; - $files[$type][$name] = TRUE; - - return TRUE; } + $files[$type][$name] = TRUE; + return TRUE; } return FALSE;