mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-11-02 02:48:02 +00:00
Update db.php
This commit is contained in:
@@ -173,7 +173,7 @@ class Db {
|
||||
$i++;
|
||||
}
|
||||
$query->execute();
|
||||
$query->commit();
|
||||
$this->_pdo->commit();
|
||||
} catch(PDOException $e) {
|
||||
return array('error'=>true,'info'=>$e->getMessage());
|
||||
}
|
||||
@@ -194,7 +194,7 @@ class Db {
|
||||
}
|
||||
$query->execute();
|
||||
$rowCount=$query->rowCount();
|
||||
$query->commit();
|
||||
$this->_pdo->commit();
|
||||
} catch(PDOException $e) {
|
||||
return false;//$e->getMessage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user