diff --git a/code/SQLite3Database.php b/code/SQLite3Database.php index c08501b..94703cd 100644 --- a/code/SQLite3Database.php +++ b/code/SQLite3Database.php @@ -939,7 +939,7 @@ class SQLite3Database extends SS_Database { * Does this database support transactions? */ public function supportsTransactions(){ - return !($this->getVersion() < 3.6); + return version_compare($this->getVersion(), '3.6', '>='); } /*