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
May 25, 2021 at 5:20 am
#1559
RRowley
Participant
These are the first three lines of the function. The code would go in after them.
$printIfEmpty = !empty($params['printIfEmpty']) && $params['printIfEmpty'] == true;
$class1 = empty($params['class1']) ? '' : Util::htmlSafe($params['class1']);
$class2 = empty($params['class2']) ? '' : Util::htmlSafe($params['class2']);
Recent Comments