Use return instead of echo in the remaining core
Debug-messages still may use echo, and some functions in functions_image and trackback still use it to generate progress messages, which should get cleaned up as well but is not that urgent
This commit is contained in:
@@ -494,7 +494,7 @@ function serendipity_printConfigTemplate($config, $from = false, $noForm = false
|
||||
}
|
||||
}
|
||||
$data['config'] = $config;
|
||||
echo serendipity_smarty_show('admin/config_template.tpl', $data);
|
||||
return serendipity_smarty_show('admin/config_template.tpl', $data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user