diff options
Diffstat (limited to 'drivers/adodb-ibase.inc.php')
| -rw-r--r-- | drivers/adodb-ibase.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/adodb-ibase.inc.php b/drivers/adodb-ibase.inc.php index 8d48f17d..1eaf07fe 100644 --- a/drivers/adodb-ibase.inc.php +++ b/drivers/adodb-ibase.inc.php @@ -289,7 +289,7 @@ class ADODB_ibase extends ADOConnection { $rs = $this->Execute($getnext); } if ($rs && !$rs->EOF) { - $this->genID = (integer) reset($rs->fields); + $this->genID = (int) reset($rs->fields); } else { $this->genID = 0; // false @@ -314,7 +314,7 @@ class ADODB_ibase extends ADOConnection { function ErrorNo() { - if (preg_match('/error code = ([\-0-9]*)/i', $this->_errorMsg,$arr)) return (integer) $arr[1]; + if (preg_match('/error code = ([\-0-9]*)/i', $this->_errorMsg,$arr)) return (int) $arr[1]; else return 0; } |
