Skip to content

Commit d4bd85f

Browse files
committed
Add escaping to MailBrandSetting as well
1 parent c9dab67 commit d4bd85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/system/models/MailBrandSetting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static function renderCss()
9898
Cache::forever($cacheKey, $customCss);
9999
}
100100
catch (Exception $ex) {
101-
$customCss = '/* ' . $ex->getMessage() . ' */';
101+
$customCss = '/* ' . e($ex->getMessage()) . ' */';
102102
}
103103

104104
return $customCss;

0 commit comments

Comments
 (0)