From 8f2420541a175b359735ad6261b25ef74978bbb5 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 20 May 2005 17:00:12 +0000 Subject: [PATCH] fixed generation of options in select-boxes: now 0 == '0' != '' when marking options as selected --- phpgwapi/inc/class.html.inc.php | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.html.inc.php b/phpgwapi/inc/class.html.inc.php index 04d454b0ef..ab52668309 100644 --- a/phpgwapi/inc/class.html.inc.php +++ b/phpgwapi/inc/class.html.inc.php @@ -335,9 +335,20 @@ class html */ function select_option($value,$label,$selected,$no_lang=0,$title='') { - //echo "select_option('$value','$label','".print_r($selected,true)."',".(int)$no_lang."
\n"; - return '\n"; }