From e7f14f5b6660f27f6d1a0019129c78c02945a062 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Tue, 28 Apr 2009 22:31:39 +0200 Subject: [PATCH] [svn r20161] Adding applyfilter to some forms see FS#4116 --- main/admin/settings.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/admin/settings.php b/main/admin/settings.php index 3ebb145bea..e95a3d80d8 100644 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -1,9 +1,9 @@ -addElement('text', $row['variable'], get_lang($row['comment']),array('maxlength'=>'5')); + $form->applyFilter($row['variable'],'html_filter'); $default_values[$row['variable']] = $row['selected_value']; } else { $form->addElement('text', $row['variable'], get_lang($row['comment']),$hideme); + $form->applyFilter($row['variable'],'html_filter'); $default_values[$row['variable']] = $row['selected_value']; }