1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Fix for 'user' stylesheets in Theme Manager.

This commit is contained in:
Cameron 2021-02-14 06:31:06 -08:00
parent b0300f93bf
commit e6bdc0e6ec

View File

@ -2806,6 +2806,7 @@ class themeHandler
if($mode == self::RENDER_SITEPREFS)
{
$detected = e107::getTheme()->getScope('css', 'front');
$all = e107::getTheme()->getScope('css', 'all');
foreach($theme['css'] as $k=>$v) // check if wildcard is present.
{
@ -2813,7 +2814,7 @@ class themeHandler
{
foreach($theme['files'] as $val) // get wildcard list of css files.
{
if(isset($detected[$val]))
if(isset($detected[$val]) || isset($all[$val]))
{
continue;
}