summaryrefslogtreecommitdiffstats
path: root/Db.class.php
diff options
context:
space:
mode:
authorIndieteq <admin@indieteq.com>2014-01-08 12:41:48 +0100
committerIndieteq <admin@indieteq.com>2014-01-08 12:41:48 +0100
commit5f4f1fefa5f6ed34681b526b66b16bfe6654c741 (patch)
tree561de40f1436831fb36c53c96ed4ca0d459f83d4 /Db.class.php
parent086c72ca2a679da6b63b9945332a2514c961e162 (diff)
downloadphp-mysql-pdo-database-class-5f4f1fefa5f6ed34681b526b66b16bfe6654c741.zip
php-mysql-pdo-database-class-5f4f1fefa5f6ed34681b526b66b16bfe6654c741.tar.gz
php-mysql-pdo-database-class-5f4f1fefa5f6ed34681b526b66b16bfe6654c741.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 bdf2954..1e67b11 100644
--- a/Db.class.php
+++ b/Db.class.php
@@ -171,7 +171,7 @@ class DB
$this->Init($query,$params);
- # Assuming there are spaces in the query. Otherwise it would be an invalid query.
+ # The first six letters of the sql statement -> insert, select, etc...
$statement = strtolower(substr($query, 0 , 6));
if ($statement === 'select') {