fix undeclared variables or wrong variable names (/view)

This commit is contained in:
rabuzarus 2018-02-12 16:50:05 +01:00
commit 02ef222fe1
5 changed files with 15 additions and 16 deletions

View file

@ -67,8 +67,7 @@ function clean_form(App $a, &$colorset, $user)
}
$t = get_markup_template("theme_settings.tpl");
/// @TODO No need for adding string here, $o is not defined
$o .= replace_macros($t, [
$o = replace_macros($t, [
'$submit' => L10n::t('Submit'),
'$baseurl' => System::baseUrl(),
'$title' => L10n::t("Theme settings"),