Verified Commit ab91b61e authored by Romain De Laage De Bellefaye's avatar Romain De Laage De Bellefaye 🌳
Browse files

Use -1 in autosql

parent f6a308d2
......@@ -63,8 +63,8 @@ Fonction* Database::getFonction(const QString& name) const {
throw "No rule defined for this object";
do {
int min[8] = {0};
int max[8] = {0};
int min[8] = {-1};
int max[8] = {-1};
if(!query.isNull("min1")) {
min[0] = query.value("min1").toInt();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment