diff --git a/cg/cglib02.cpp b/cg/cglib02.cpp index 696f44cc6..cb4fbf941 100755 --- a/cg/cglib02.cpp +++ b/cg/cglib02.cpp @@ -53,7 +53,8 @@ void TTab_conti::aggiorna_conto(const TConto& tcon, int anno_es, const real& imp TConto* tc = (TConto*) objptr(key); if (tc == NULL) { - tc = new TConto(tcon); + tc = new TConto(tcon.gruppo(), tcon.conto(), tcon.sottoconto(), + tcon.tipo()); add(key, tc); tc->dare() = ZERO; tc->avere() = ZERO;