diff options
author | deva <deva> | 2011-02-04 13:52:06 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-04 13:52:06 +0000 |
commit | 7563ce50d64c250788698f89f68f35fe174f04a1 (patch) | |
tree | 812736489d1b12ee4576988fa15609ccbeb3a685 /server/src | |
parent | 41dfe02ea86e329bee9137dbdea9a788915b90d3 (diff) |
Fixed wrong conditional.
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/pracrodaopgsql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/pracrodaopgsql.cc b/server/src/pracrodaopgsql.cc index c86797d..b71f8e7 100644 --- a/server/src/pracrodaopgsql.cc +++ b/server/src/pracrodaopgsql.cc @@ -515,7 +515,7 @@ void PracroDAOPgsql::setActive(std::string sessionid, bool a) std::string ts; try { pqxx::work W(*conn); - if(a) { + if(a == false) { ts = "UPDATE commits SET status='idle' WHERE uid="+sessionid+ " AND status='active';"; } else { |