summaryrefslogtreecommitdiff
path: root/server/src/database.cc
diff options
context:
space:
mode:
authordeva <deva>2008-11-03 15:22:10 +0000
committerdeva <deva>2008-11-03 15:22:10 +0000
commit40bad69cd77f32730f6939553d7f9667338c646f (patch)
tree7a5b83aac4aef71a718f9aaa806feaedf8d25a4b /server/src/database.cc
parent5968c3af2c26abe61cf98bf45f672835ef4b51ba (diff)
Did a lot of work on format utils.
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