diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-02 15:58:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-02 15:58:53 +0000 |
commit | 724d3fdbee87c004d494e871210c559c361db049 (patch) | |
tree | 8384950f45a977d6b08427c4ab2f1623b12b1d1d | |
parent | 679fdfcdd25ab9829834237f10f14bed41d99d3a (diff) | |
download | brdo-724d3fdbee87c004d494e871210c559c361db049.tar.gz brdo-724d3fdbee87c004d494e871210c559c361db049.tar.bz2 |
- Patch #832624 by Max K: unused variable () in function init_theme().
-rw-r--r-- | includes/theme.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc index a696117cf..f5731693f 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -95,8 +95,8 @@ function drupal_theme_initialize() { $base_theme = array(); $ancestor = $theme; while ($ancestor && isset($themes[$ancestor]->base_theme)) { - $base_theme[] = $new_base_theme = $themes[$themes[$ancestor]->base_theme]; $ancestor = $themes[$ancestor]->base_theme; + $base_theme[] = $themes[$ancestor]; } _drupal_theme_initialize($themes[$theme], array_reverse($base_theme)); |