diff --git a/modules/conop/src/compound_lib.cc b/modules/conop/src/compound_lib.cc index ba8ecc51d919b56843d6ccfa9952574301121a79..3c3ed5691498db79cc81258a5bad88701e7a1743 100644 --- a/modules/conop/src/compound_lib.cc +++ b/modules/conop/src/compound_lib.cc @@ -224,6 +224,7 @@ void CompoundLib::AddCompound(const CompoundPtr& compound) modi_date_str=modi_date.ToString(); sqlite3_bind_text(stmt, 7, crea_date_str.c_str(), crea_date_str.length(), NULL); sqlite3_bind_text(stmt, 8, modi_date_str.c_str(), modi_date_str.length(), NULL); + sqlite3_bind_text(stmt, 9, compound->GetName().c_str(), compound->GetName().length(), NULL); int charge=compound->GetCharge(); sqlite3_bind_int(stmt, 10, charge); } else {