Skip to content

Dafault values insert replaced with new syntax

Marek Szuba requested to merge Bugfix/clones_open into master

Created by: mira13

Resolving issues 3370, 3410, 3460. In all this cases we are having error: 'DBD::SQLite::db prepare failed: near ")": syntax error .....

It is caused when we are executing at sqlite expression insert into $table () values() - which is not valid for new version of sqlite, and means inserting of default values.

So the fix is to replace with correct sqlite query for default values insert.

Merge request reports