My code:
sc_field_display({DT_PEOPLESOFT1},(strpos($waarde,‘1,’)!=FALSE)?‘on’:‘off’);
The generated code:
$this->nmgp_cmp_hidden[“dt_peoplesoft1”] = “(strpos(waarde”; $this->NM_ajax_info[‘fieldDisplay’][‘dt_peoplesoft1’] = ‘(strpos(waarde’;!=FALSE)?‘on’:‘off’);
How it should be
$this->nmgp_cmp_hidden[“dt_peoplesoft1”] = “(strpos(waarde”; $this->NM_ajax_info[‘fieldDisplay’][‘dt_peoplesoft1’] = ‘(strpos(waarde’!=FALSE)?‘on’:‘off’);
Apparently there is something weird here… I bet that this also exists in sc 8
So if I start using (a?b:c) then the parsers makes buggy code…