summaryrefslogtreecommitdiffstats
path: root/Db.class.php
diff options
context:
space:
mode:
authorCoinsortium <developers@coinsortium.co>2014-10-13 11:16:36 +0100
committerCoinsortium <developers@coinsortium.co>2014-10-13 11:16:36 +0100
commitaaec561fac35d3fa75e5106d381ec174d046c137 (patch)
tree774c3ce35d070ab7cff6a841e73cf528c0e23c89 /Db.class.php
parentde494d62bf7ab4cf82c4e886b185d713e1a60ec4 (diff)
downloadphp-mysql-pdo-database-class-aaec561fac35d3fa75e5106d381ec174d046c137.zip
php-mysql-pdo-database-class-aaec561fac35d3fa75e5106d381ec174d046c137.tar.gz
php-mysql-pdo-database-class-aaec561fac35d3fa75e5106d381ec174d046c137.tar.bz2
Update Db.class.php
Diffstat (limited to 'Db.class.php')
-rw-r--r--Db.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Db.class.php b/Db.class.php
index ddab188..ec5df90 100644
--- a/Db.class.php
+++ b/Db.class.php
@@ -63,7 +63,7 @@ class DB
$this->pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
# Disable emulation of prepared statements, use REAL prepared statements instead.
- $this->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
+ $this->pdo->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);
# Connection succeeded, set the boolean to true.
$this->bConnected = true;