View как строка

This commit is contained in:
origami11 2017-02-20 12:07:00 +03:00
parent 3a77f74177
commit f30f7546d6
3 changed files with 8 additions and 4 deletions

View file

@ -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;
}