SVN commit 441792 by ruurd: Fix binding to use colon instead of semi. darn M +1 -1 unitdbhelper.cpp --- trunk/playground/office/pekunia/pekunia/model/unitdbhelper.cpp #441791:441792 @@ -102,7 +102,7 @@ theUnit->setIdent(Sequencer::next("unit_ident_seq")); QSqlQuery dq = Database::getInstance().prepare("INSERT INTO unit VALUES (:admin_ident, :ident, :code, :description, :prec)"); - dq.bindValue(";admin_ident", theUnit->getAdmin()->getIdent()); + dq.bindValue(":admin_ident", theUnit->getAdmin()->getIdent()); dq.bindValue(":ident", theUnit->getIdent()); dq.bindValue(":code", theUnit->getCode().c_str()); dq.bindValue(":description", theUnit->getDescription().c_str());