Ignore:
Timestamp:
Feb 28, 2010, 10:11:23 PM (14 years ago)
Author:
nikrou
Message:

Feature 1255 : bug in install with mysql and postgresql if some form parameters are missing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dblayer/functions_mysql.inc.php

    r4929 r5006  
    3535function pwg_db_connect($host, $user, $password, $database)
    3636
    37   $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', true);
    38   mysql_select_db($database, $link) or my_error('mysql_select_db', true);
     37  $link = mysql_connect($host, $user, $password) or my_error('mysql_connect', false);
     38  mysql_select_db($database, $link) or my_error('mysql_select_db', false);
    3939
    4040  return $link;
Note: See TracChangeset for help on using the changeset viewer.