aboutsummaryrefslogtreecommitdiffstats
path: root/include/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/nav.php')
-rw-r--r--include/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index 3da67ffd1..44026e1e9 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -284,8 +284,8 @@ EOT;
}
}
- $c = theme_include('navbar_' . $template . '.css');
- $tpl = get_markup_template('navbar_' . $template . '.tpl');
+ $c = theme_include('navbar_' . purify_filename($template) . '.css');
+ $tpl = get_markup_template('navbar_' . purify_filename($template) . '.tpl');
if($c && $tpl) {
head_add_css('navbar_' . $template . '.css');