Skip to content
Snippets Groups Projects
Unverified Commit 82869352 authored by Csaba Tóth's avatar Csaba Tóth Committed by GitHub
Browse files
parent 5a361db5
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ function css_out(){
$files = array_merge($files, $styleini['stylesheets'][$mediatype]);
}
// load user styles
if(!empty($config_cascade['userstyle'][$mediatype])) {
if(is_array($config_cascade['userstyle'][$mediatype]) && count($config_cascade['userstyle'][$mediatype])>0) {
foreach($config_cascade['userstyle'][$mediatype] as $userstyle) {
$files[$userstyle] = DOKU_BASE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment