Default values insert replaced with new syntax
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.