diff options
author | Indieteq <admin@indieteq.com> | 2014-01-08 12:41:48 +0100 |
---|---|---|
committer | Indieteq <admin@indieteq.com> | 2014-01-08 12:41:48 +0100 |
commit | 5f4f1fefa5f6ed34681b526b66b16bfe6654c741 (patch) | |
tree | 561de40f1436831fb36c53c96ed4ca0d459f83d4 /Db.class.php | |
parent | 086c72ca2a679da6b63b9945332a2514c961e162 (diff) | |
download | php-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.php | 2 |
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') { |