Bug fix for dbtype menu
authormoodler <moodler>
Thu, 21 Nov 2002 11:12:55 +0000 (11:12 +0000)
committermoodler <moodler>
Thu, 21 Nov 2002 11:12:55 +0000 (11:12 +0000)
auth/db/config.html

index 56b53bd..efe04cd 100644 (file)
        <TD ALIGN=RIGHT><P>auth_dbtype:</TD>
        <TD>
     <? $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
-       choose_from_menu($dbtypes, "auth_dbtype", $config->auth_dbtype, "");
+       foreach ($dbtypes as $dbtype) {
+           $dboptions[$dbtype] = $dbtype;
+       }
+       choose_from_menu($dboptions, "auth_dbtype", $config->auth_dbtype, "");
     ?>
       
     </TD>