Commit 3d60a470 authored by Lukas Appelhans's avatar Lukas Appelhans

Don't remove the OR twice

parent faf98c09
......@@ -216,9 +216,7 @@ void CreateDb::add()
continue;
}
query = query + " name=\"" + p->name() + "\"";
if (m_targets.last() != pkgPath)
query = query + " OR";
query = query + " name=\"" + p->name() + "\" OR";
packagesCache.insert(pkgPath, p);
}
......
Markdown is supported
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