mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10057] Fixed usage of sql_error again.
PHPBB3-10057
This commit is contained in:
parent
40468a5adc
commit
e5aa2c9ac1
1 changed files with 4 additions and 2 deletions
|
@ -89,7 +89,8 @@ class dbal_postgres extends dbal
|
|||
{
|
||||
if (!function_exists('pg_pconnect'))
|
||||
{
|
||||
return $this->sql_error('pg_pconnect function does not exist, is pgsql extension installed?');
|
||||
$this->connect_error = 'pg_pconnect function does not exist, is pgsql extension installed?';
|
||||
return $this->sql_error('');
|
||||
}
|
||||
$collector = new phpbb_error_collector;
|
||||
$collector->install();
|
||||
|
@ -99,7 +100,8 @@ class dbal_postgres extends dbal
|
|||
{
|
||||
if (!function_exists('pg_pconnect'))
|
||||
{
|
||||
return $this->sql_error('pg_connect function does not exist, is pgsql extension installed?');
|
||||
$this->connect_error = 'pg_connect function does not exist, is pgsql extension installed?';
|
||||
return $this->sql_error('');
|
||||
}
|
||||
$collector = new phpbb_error_collector;
|
||||
$collector->install();
|
||||
|
|
Loading…
Add table
Reference in a new issue