View как строка
This commit is contained in:
parent
3a77f74177
commit
f30f7546d6
3 changed files with 8 additions and 4 deletions
|
|
@ -74,6 +74,9 @@ class View_Top extends View_Composite {
|
|||
|
||||
$startup = array();
|
||||
foreach($this->_section as $s) {
|
||||
if (is_string($s)) {
|
||||
continue;
|
||||
}
|
||||
$module = explode('_', $s->active_module, 2);
|
||||
if (count($module) < 2) {
|
||||
continue;
|
||||
|
|
@ -106,7 +109,6 @@ class View_Top extends View_Composite {
|
|||
|
||||
$script .= $value . ".execute('" . $s->module_action . "', " . json_encode($init) .");\n";
|
||||
$startup[] = $script;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue