diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 4e34f7ec66..98102d3559 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-03-09 Miguel de Dios + + * include/functions.php: fixed in the function "get_system_time" copy&paste + mistake. + + * pandoradb.postgreSQL.sql: in the table "tusuario" added empty string for + the column "middlename". + 2011-03-08 Miguel de Dios * include/functions_html.php, include/functions_messages.php, diff --git a/pandora_console/include/functions.php b/pandora_console/include/functions.php index 4011519e84..29cd86c97d 100644 --- a/pandora_console/include/functions.php +++ b/pandora_console/include/functions.php @@ -317,10 +317,10 @@ function get_system_time () { switch ($config["dbtype"]) { case "mysql": - require_once ($config['homedir'] . '/include/db/mysql.php'); + return mysql_get_system_time(); break; case "postgresql": - require_once ($config['homedir'] . '/include/db/postgresql.php'); + return postgresql_get_system_time(); break; } } diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index 7793110393..acad3057b8 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -649,7 +649,7 @@ CREATE TABLE "tusuario" ( "fullname" varchar(255) NOT NULL, "firstname" varchar(255) NOT NULL, "lastname" varchar(255) NOT NULL, - "middlename" varchar(255) NOT NULL, + "middlename" varchar(255) NOT NULL default '', "password" varchar(45) default NULL, "comments" varchar(200) default NULL, "last_connect" BIGINT NOT NULL default 0,