diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index bb3a6f7591..a45bab78d5 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,7 @@ +2011-07-11 Juan Manuel Ramon + + * install.php: Fixed installation over a new database. + 2011-07-11 Ramon Novoa * include/functions_reporting.php, diff --git a/pandora_console/install.php b/pandora_console/install.php index dd22846b16..a3546059e2 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -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'"); }