From 8a9f3f9dc2706202105145d13a58446f588d24d2 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 29 Aug 2004 16:56:41 +0000 Subject: [PATCH 1/1] adding space between cols="number" and $attr. removing extra double quote. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7985 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/forms.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/forms.php b/functions/forms.php index b6ce3b37..c0689d6c 100644 --- a/functions/forms.php +++ b/functions/forms.php @@ -121,8 +121,8 @@ function addReset($value) { */ function addTextArea($name, $text = '', $cols = 40, $rows = 10, $attr = '') { return '\n"; + 'rows="'.(int)$rows .'" cols="'.(int)$cols.'" '. + $attr . '>'.htmlspecialchars($text) ."\n"; } /** -- 2.25.1