Skip to content

Commit

Permalink
fix popup for customizing of themes
Browse files Browse the repository at this point in the history
the change in commit
2017-05-24T11:11:56+07:[email protected]
results in a PHP-warning because $content is unset and
it creates invalid HTML because the content is echoed
before the starting html-tag
  • Loading branch information
matlam committed Jun 28, 2017
1 parent 17de4af commit 132e151
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/modules/system/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@
}

// print out the form object
echo $form->printOut();
$content = $form->printOut();

} else {
echo __('This theme not customizable');
$content = __('This theme not customizable');
}
require SB.'/admin/'.$sysconf['admin_template']['dir'].'/notemplate_page_tpl.php';
exit();
Expand Down

0 comments on commit 132e151

Please sign in to comment.