Reply To: empty field in database not handled as expected

#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']);