Mercurial > hg > isophonics-drupal-site
diff core/lib/Drupal/Core/Extension/ThemeInstaller.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 7a779792577d |
children | 129ea1e6d783 |
line wrap: on
line diff
--- a/core/lib/Drupal/Core/Extension/ThemeInstaller.php Mon Apr 23 09:33:26 2018 +0100 +++ b/core/lib/Drupal/Core/Extension/ThemeInstaller.php Mon Apr 23 09:46:53 2018 +0100 @@ -121,9 +121,9 @@ return TRUE; } - while (list($theme) = each($theme_list)) { + foreach ($theme_list as $theme => $value) { // Add dependencies to the list. The new themes will be processed as - // the while loop continues. + // the parent foreach loop continues. foreach (array_keys($theme_data[$theme]->requires) as $dependency) { if (!isset($theme_data[$dependency])) { // The dependency does not exist.