diff options
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') { |