summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-02 15:58:53 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-02 15:58:53 +0000
commit724d3fdbee87c004d494e871210c559c361db049 (patch)
tree8384950f45a977d6b08427c4ab2f1623b12b1d1d
parent679fdfcdd25ab9829834237f10f14bed41d99d3a (diff)
downloadbrdo-724d3fdbee87c004d494e871210c559c361db049.tar.gz
brdo-724d3fdbee87c004d494e871210c559c361db049.tar.bz2
- Patch #832624 by Max K: unused variable () in function init_theme().
-rw-r--r--includes/theme.inc2
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));