summaryrefslogtreecommitdiff
path: root/server/src/database.cc
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.cc')
-rw-r--r--server/src/database.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/database.cc b/server/src/database.cc
index 08e8465..dbc5849 100644
--- a/server/src/database.cc
+++ b/server/src/database.cc
@@ -106,7 +106,7 @@ void Database::commit(std::string user,
std::map< std::string, std::string >::iterator i = fields.begin();
while(i != fields.end()) {
if(i == fields.begin()) query << " WHERE name = '" << protect(i->first) << "'";
- else query << " OR name = '" << protect(i->first) << "';";
+ else query << " OR name = '" << protect(i->first) << "'";
i++;
}
#ifdef WITH_DEBUG