From 39a6c40587fb19aa95f9e16629dcf7408cdb274a Mon Sep 17 00:00:00 2001 From: guy Date: Mon, 22 Jan 1996 11:45:51 +0000 Subject: [PATCH] Corretto andler del numero documento git-svn-id: svn://10.65.10.50/trunk@2483 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg2102.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cg/cg2102.cpp b/cg/cg2102.cpp index efb3d37b4..d12edef71 100755 --- a/cg/cg2102.cpp +++ b/cg/cg2102.cpp @@ -1663,7 +1663,11 @@ bool TPrimanota_application::numdoc_handler(TMask_field& f, KEY key) if (!app().npart_is_prot()) // Copiare numero documento nel numero partita? { if (m.get(F_NUMRIF).empty()) - m.set(F_NUMRIF, f.get(), TRUE); + { + const TString16 n = f.get(); + if (n.not_empty()) + m.set(F_NUMRIF, f.get(), TRUE); + } } } return TRUE;