summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2019-01-30 11:11:08 +0000
committerGreg Roach <fisharebest@webtrees.net>2019-01-30 13:06:37 +0000
commitade503dfba8365d48c21ef618291c1a94004c6e1 (patch)
treea264c24081031f9e36c4dacc77ce57447ef4d888 /index.php
parente11ffd0c922a07c13f23d38c7d9c82edce5298f5 (diff)
downloadwebtrees-ade503dfba8365d48c21ef618291c1a94004c6e1.tar.gz
webtrees-ade503dfba8365d48c21ef618291c1a94004c6e1.tar.bz2
webtrees-ade503dfba8365d48c21ef618291c1a94004c6e1.zip
Refactor themes into modules
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 9aff411802..16a2d0007e 100644
--- a/index.php
+++ b/index.php
@@ -242,7 +242,7 @@ try {
$theme_id = 'webtrees';
}
foreach (Theme::installedThemes() as $theme) {
- if ($theme->themeId() === $theme_id) {
+ if ($theme->name() === $theme_id) {
Theme::theme($theme);
// Remember this setting
if (Site::getPreference('ALLOW_USER_THEMES') === '1') {