fix ugly spacing in configuration-file-textareas

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2011-03-09 07:29:28 +01:00
parent b5124b8274
commit 4b1eee49a8
5 changed files with 10 additions and 9 deletions

View File

@@ -169,7 +169,7 @@ class htmlform
if(isset($data['rows'])) {
$extras .= ' rows="'.$data['rows'].'"';
}
$value = isset($data['value']) ? $data['value'] : '';
$value = isset($data['value']) ? trim($data['value']) : '';
eval("\$return = \"" . getTemplate("misc/form/input_textarea", "1") . "\";");
return $return;