From 6270b14f762cef46d0d62ae379a773c8092fb7ee Mon Sep 17 00:00:00 2001 From: luca Date: Tue, 5 Apr 2011 11:14:01 +0000 Subject: [PATCH] Patch level :10.0 971 Files correlati : Ricompilazione Demo : [ ] Commento : altro caso particolare da gestire git-svn-id: svn://10.65.10.50/branches/R_10_00@21886 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ve/velib06.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ve/velib06.cpp b/ve/velib06.cpp index 4f8ce1ab7..9d2831e9c 100755 --- a/ve/velib06.cpp +++ b/ve/velib06.cpp @@ -257,8 +257,11 @@ TDocumento_mask::TDocumento_mask(const char* td) if (id2pos(id) >= 0) // Alcuni profili NON hanno le note { TBrowse* nb = efield(id).browse(); - nb->set_output_fields(TOSTRING(F_CODNOTE)); - nb->set_output_field_names("CODTAB"); + if (nb != NULL) + { + nb->set_output_fields(TOSTRING(F_CODNOTE)); + nb->set_output_field_names("CODTAB"); + } } else break;