Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed Dec 2, 2024
2 parents d41ffb8 + e6ce63a commit 0125216
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RockLoaders.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public function init()
$this->cssfile = wire()->config->paths->assets . 'rockloaders.min.css';

// add checked internal loaders
foreach ($this->internalLoaders as $key) $this->add($key);
$internalLoaders = $this->internalLoaders ?? [];
foreach ($internalLoaders as $key) $this->add($key);

wire()->addHookBefore('Page::render', $this, 'compileLoaders');
wire()->addHookAfter('Modules::refresh', $this, 'clearCache');
Expand Down

0 comments on commit 0125216

Please sign in to comment.