Minor style change in Firebird driver
This commit is contained in:
parent
0aafd02982
commit
f4dfd8962c
@ -80,14 +80,9 @@ class firebird extends DB_PDO {
|
|||||||
{
|
{
|
||||||
$this->count = 0;
|
$this->count = 0;
|
||||||
|
|
||||||
if (isset($this->trans))
|
$this->statement_link = (isset($this->trans))
|
||||||
{
|
? @fbird_query($this->trans, $sql)
|
||||||
$this->statement_link = @fbird_query($this->trans, $sql);
|
: @fbird_query($this->conn, $sql);
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$this->statement_link = @fbird_query($this->conn, $sql);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Throw the error as a exception
|
// Throw the error as a exception
|
||||||
if ($this->statement_link === FALSE)
|
if ($this->statement_link === FALSE)
|
||||||
|
Reference in New Issue
Block a user