2011-07-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* install.php: Fixed installation over a new database.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-07-11 16:12:13 +00:00
parent 0c2241b9c8
commit aec9f98d83
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-07-11 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* install.php: Fixed installation over a new database.
2011-07-11 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php,

View File

@ -701,7 +701,7 @@ function install_step4() {
}
// Create schema
if ($dbaction != 'db_exist' || $dbdrop == 1){
if ($dbaction == 'db_new' || $dbdrop == 1){
$step1 = mysql_query ("CREATE DATABASE $dbname");
check_generic ($step1, "Creating database '$dbname'");
}