aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2011-03-08 19:48:56 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2011-03-08 19:48:56 -0500
commit87e3560c30365d757280f6ef6f067c29c1f9c5f0 (patch)
tree29e6e24ace3ce5c284b8eef6726c8f5aa5c03b7f /phpBB/includes/db
parent020d06cdaac13372feef615b8689ad2526733243 (diff)
downloadforums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar
forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.gz
forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.bz2
forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.tar.xz
forums-87e3560c30365d757280f6ef6f067c29c1f9c5f0.zip
[ticket/10057] Fixes for a bunch of small problems.
PHPBB3-10057
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/firebird.php2
-rw-r--r--phpBB/includes/db/postgres.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index 6786edb964..7e3f15ed1d 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -81,7 +81,7 @@ class dbal_firebird extends dbal
}
else
{
- $thih->service_handle = false;
+ $this->service_handle = false;
}
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php
index 69f605fc47..bb116e0763 100644
--- a/phpBB/includes/db/postgres.php
+++ b/phpBB/includes/db/postgres.php
@@ -98,7 +98,7 @@ class dbal_postgres extends dbal
}
else
{
- if (!function_exists('pg_pconnect'))
+ if (!function_exists('pg_connect'))
{
$this->connect_error = 'pg_connect function does not exist, is pgsql extension installed?';
return $this->sql_error('');