Compare commits
2
Commits
08211282c2
...
af212b07ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af212b07ca | ||
|
|
58766decaf |
@@ -70,7 +70,7 @@ if (! class_exists("%NAMESPACE%\%CLASSNAME%", false) ) {
|
||||
$result = [];
|
||||
|
||||
foreach([ 'prepend', 'default', 'append' ] as $item) {
|
||||
if ( ! is_array($this->sectionList[$name][$item]) ) continue;
|
||||
if ( !isset($this->sectionList[$name][$item]) || ! is_array($this->sectionList[$name][$item]) ) continue;
|
||||
|
||||
usort($this->sectionList[$name][$item], fn($a, $b) => $a['order'] <=> $b['order']);
|
||||
|
||||
|
||||
Reference in new issue
Block a user