diff --git a/in/in0500.cpp b/in/in0500.cpp index 0bfbff859..0809f78cf 100755 --- a/in/in0500.cpp +++ b/in/in0500.cpp @@ -168,8 +168,7 @@ bool TImmissione_mask::on_field_event(TOperable_field& o, TField_event e, long j cambio.reset(); else { - const TRectype& curr = cache().get("%VAL", o.get()); - const TString& s = curr.get("S4"); + const TString& s = cache().get("%VAL", o.get(), "S4"); cambio.set(s); } TSheet_field& s = sfield(F_RIGHE);