SimpleInvoices Group Forum › Forums › Fearless359 SimpleInvoices Discussion Group › empty field in database not handled as expected › Reply To: empty field in database not handled as expected
April 26, 2021 at 12:20 pm
#1550
ppmt
Participant
Ok so !empty
does fix the problem I have with isset
. Thanks
How about the print_if_not_null
function? I found that there is print_if_not_empty
but looking at the code it is actually the same as print_if_not_null.
I guess I will copy that function, put it in my theme plugins and replace isset by !empty
Is there any reason why the “empty” field are not set to NULL when not populated? The talbe definition seems to indicate that the defaul should be NULL
Recent Comments