bug 10179: don't insert config record if it's already present in the db

status 10179: resolved fixed
This commit is contained in:
alena 2011-06-07 15:40:20 -07:00
parent f20b410e09
commit b56fd81ce5
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@ public class ConfigurationServerImpl implements ConfigurationServer {
String name = c.key();
// If the value is already in the table, don't reinsert it
if (_configDao.getValue(name) != null) {
if (_configDao.findByName(name) != null) {
continue;
}