]> git.mjollnir.org Git - moodle.git/commitdiff
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 56b53bd1cd6611bba5eb42b3fdaba14ff6d6d7e0..efe04cd93ade132e8849c6cb856f7bd24791b27e 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>