From b1787f3ee4851fc3332f19b4eefb26991caaf22b Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 11 Feb 2011 08:14:59 +0000 Subject: [PATCH] Patch level : 10.0 nopatch Files correlati : Ricompilazione Demo : [ ] Commento : git-svn-id: svn://10.65.10.50/branches/R_10_00@21627 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ps/pd0610300.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ps/pd0610300.cpp b/ps/pd0610300.cpp index 9108672a0..d51f35460 100755 --- a/ps/pd0610300.cpp +++ b/ps/pd0610300.cpp @@ -72,15 +72,15 @@ bool TSost_condpag_msk::elabora_documenti() const TString4 codpagdoc = rec.get(DOC_CODPAG); const TString4 tipopag = cache().get("%CPG", codpagdoc, "S4"); - if(codpagdoc != codpag && tipopag == "3") //tipopag = 3-> riba + if (codpagdoc != codpag && tipopag == "3") //tipopag = 3-> riba { rec.put(DOC_CODPAG, codpag); - const TString8 abi = get_int(F_ABI); - if(abi > 0) + const TString8 abi = get(F_ABI); + if (abi.full()) { - const TString8 cab = get_int(F_CAB); - const TString prog = get_int(F_PROG); + const TString8 cab = get(F_CAB); + const TString prog = get(F_PROG); rec.put(DOC_CODABIP, abi); rec.put(DOC_CODCABP, cab);