fix: deprecated
This commit is contained in:
parent
2947e4aac3
commit
5cfd2ee773
1 changed files with 2 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ class Top extends Composite
|
|||
public function render()
|
||||
{
|
||||
|
||||
$alias = $this->doTree('alias');
|
||||
$this->doTree('alias');
|
||||
|
||||
// Скрипты и стили
|
||||
$this->set('scriptstring', $this->getScriptRaw());
|
||||
|
|
@ -47,7 +47,7 @@ class Top extends Composite
|
|||
if (is_string($s)) {
|
||||
continue;
|
||||
}
|
||||
$moduleName = explode('_', $s->active_module, 2);
|
||||
$moduleName = explode('_', $s->active_module ?: '', 2);
|
||||
if (count($moduleName) < 2) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue