1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-20 05:11:42 +02:00

Fixes #4443 - set default stylesheet scope to 'front' when attribute has been omitted from theme.xml.

This commit is contained in:
Cameron
2021-03-11 09:27:38 -08:00
parent 9c9dcb5e52
commit fb3888abc3
3 changed files with 11 additions and 3 deletions

View File

@@ -1117,7 +1117,7 @@ class e_theme
"name" => $val['@attributes']['file'],
"info" => $val['@attributes']['name'],
"nonadmin" => $notadmin,
'scope' => vartrue($val['@attributes']['scope']),
'scope' => vartrue($val['@attributes']['scope'], 'front'),
'exclude' => vartrue($val['@attributes']['exclude']),
'description' => vartrue($val['@attributes']['description']),
'thumbnail' => vartrue($val['@attributes']['thumbnail'])