diff --git a/include/form.cpp b/include/form.cpp index ddf4ecde4..e818ba4ae 100755 --- a/include/form.cpp +++ b/include/form.cpp @@ -4045,6 +4045,7 @@ bool TForm::read_profile() rprof.put("TIPOPROF", _name); rprof.put("CODPROF", _code); const TRectype filter(rprof.curr()); + TString set("HGBF"); for (int err = rprof.read(_isgteq); err == NOERR && rprof.curr() == filter; err = rprof.next()) { @@ -4058,6 +4059,7 @@ bool TForm::read_profile() const TString& s = rprof.get("SEZ"); const char sec = s[0]; + if (set.find(sec)<0) continue; // Se non fa parte di una sezione standard la salta const pagetype pt = char2page(s[1]); const short id = rprof.get_int("ID");