From d5b3ab4e4fed53da7dc4c7fcfd6b13f0f705ce6a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 26 Apr 2010 07:56:51 +0000 Subject: [PATCH] Fix: add possibility to disable select form --- htdocs/html.formother.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/html.formother.class.php b/htdocs/html.formother.class.php index 9473199a374..01cf1382f80 100644 --- a/htdocs/html.formother.class.php +++ b/htdocs/html.formother.class.php @@ -209,9 +209,9 @@ class FormOther * \param end end value * \return return combo */ - function select_percent($selected=0,$htmlname='percent',$increment=5,$start=0,$end=100) + function select_percent($selected=0,$htmlname='percent',$disabled=0,$increment=5,$start=0,$end=100) { - $return = ''; for ($i = $start ; $i <= $end ; $i += $increment) {