[ticket/10205] Fix a parse error in oracle driver.

PHPBB3-10205
This commit is contained in:
Oleg Pudeyev 2012-12-04 16:07:02 -05:00
parent 9f549e8249
commit 40db60e45f

View file

@ -74,7 +74,7 @@ class dbal_oracle extends dbal
$this->connect_error = 'ocilogon function does not exist, is oci extension installed?'; $this->connect_error = 'ocilogon function does not exist, is oci extension installed?';
return $this->sql_error(''); return $this->sql_error('');
} }
$this->db_connect_id = @ocilogon($this->user, $sqlpassword, $connect, 'UTF8')); $this->db_connect_id = @ocilogon($this->user, $sqlpassword, $connect, 'UTF8');
} }
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error(''); return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');