Bufix: plugin CSS failed to load

This commit is contained in:
the-djmaze 2022-03-10 11:46:54 +01:00
parent 2da1590cd9
commit b2dd5b7cad

View file

@ -275,7 +275,7 @@ class Manager
public function AddCss(string $sFile, bool $bAdminScope = false) : self public function AddCss(string $sFile, bool $bAdminScope = false) : self
{ {
if ($this->bIsEnabled) { if ($this->bIsEnabled) {
$this->aCss[$bAdminScope ? 1 : 0] = $sFile; $this->aCss[$bAdminScope ? 1 : 0][] = $sFile;
} }
return $this; return $this;
} }