gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/include html.php,1.32,1.33


From: gsmet
Subject: [Gforge-commits] gforge/www/include html.php,1.32,1.33
Date: Wed, 21 Jul 2004 05:22:15 -0500

Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/tmp/cvs-serv20928/www/include

Modified Files:
        html.php 
Log Message:
Fixed #840


Index: html.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/html.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- html.php    15 Apr 2004 08:32:35 -0000      1.32
+++ html.php    21 Jul 2004 10:22:10 -0000      1.33
@@ -213,7 +213,7 @@
  * @param      string  The value of the item that should be checked.
  */
 function html_build_select_box_from_array 
($vals,$select_name,$checked_val='xzxz',$samevals = 0) {
-       $return .= '
+       $return = '
                <select name="'.$select_name.'">';
 
        $rows=count($vals);
@@ -275,6 +275,8 @@
                $return .= 'ERROR - uneven row counts';
        }
 
+       $checked_found=false;
+
        for ($i=0; $i<$rows; $i++) {
                //  uggh - sorry - don't show the 100 row
                //  if it was shown above, otherwise do show it





reply via email to

[Prev in Thread] Current Thread [Next in Thread]