summaryrefslogtreecommitdiff
path: root/drivers/adodb-pdo.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/adodb-pdo.inc.php')
-rw-r--r--drivers/adodb-pdo.inc.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/adodb-pdo.inc.php b/drivers/adodb-pdo.inc.php
index b4b9d9bc..f25006ba 100644
--- a/drivers/adodb-pdo.inc.php
+++ b/drivers/adodb-pdo.inc.php
@@ -417,7 +417,7 @@ class ADODB_pdo extends ADOConnection {
if (sizeof($arr)<2) {
return '';
}
- if ((integer)$arr[0]) {
+ if ((int)$arr[0]) {
return $arr[2];
}
else {
@@ -625,7 +625,7 @@ class ADODB_pdo extends ADOConnection {
if ($stmt) {
$arr = $stmt->errorinfo();
- if ((integer)$arr[1]) {
+ if ((int)$arr[1]) {
$this->_errormsg = $arr[2];
$this->_errorno = $arr[1];
}
@@ -817,7 +817,7 @@ class ADOPDOStatement {
}
if (is_array($arr)) {
- if ((integer) $arr[0] && isset($arr[2])) {
+ if ((int) $arr[0] && isset($arr[2])) {
return $arr[2];
}
else {