commit | 442ea6861a5fdfb9780e79b00875e55cdab3f6ff | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@devilix.net> | Fri Sep 16 11:51:25 2016 +0300 |
committer | Andrey Andreev <narf@devilix.net> | Fri Sep 16 11:51:25 2016 +0300 |
tree | 501aec1344664cd03a7138d611a557fee7f1ba13 | |
parent | 5f693cb38769b973f89cb8a40b43bb15ef3cd9cf [diff] [blame] |
[ci skip] Fix #4808
diff --git a/system/database/drivers/odbc/odbc_driver.php b/system/database/drivers/odbc/odbc_driver.php index 63df296..dbce1cf 100644 --- a/system/database/drivers/odbc/odbc_driver.php +++ b/system/database/drivers/odbc/odbc_driver.php
@@ -298,7 +298,7 @@ */ public function is_write_type($sql) { - if (preg_match('#^(INSERT|UPDATE).*RETURNING\s.+(\,\s?.+)*$#i', $sql)) + if (preg_match('#^(INSERT|UPDATE).*RETURNING\s.+(\,\s?.+)*$#is', $sql)) { return FALSE; }