diff options
| author | 2015-05-12 18:31:03 +0200 | |
|---|---|---|
| committer | 2015-05-12 18:31:03 +0200 | |
| commit | 0f408e83e0173977cb4659d126b31a3671fa8114 (patch) | |
| tree | 04530333e0a303420924ce0f835db365fa9e7f45 /lib | |
| parent | d6c22a0841779c387949f52a6e87c2f9e1f89955 (diff) | |
| parent | 217c191a1ba3ac03b847d261a32e19975380fcad (diff) | |
Merge pull request #828 from Alkarex/sqliteBug
SQLite compatibility with new update mode
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Minz/ModelPdo.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index ac7a1bed7..3e8ec1f43 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -134,4 +134,9 @@ class MinzPDO extends PDO { MinzPDO::check($statement); return parent::exec($statement); } + + public function query($statement) { + MinzPDO::check($statement); + return parent::query($statement); + } } |
