Commit c3d49a27 authored by Andrew Wasson's avatar Andrew Wasson Committed by Damien McKenna
Browse files

Issue #3313970 by awasson, DamienMcKenna: trim(): Passing null to parameter...

Issue #3313970 by awasson, DamienMcKenna:  trim(): Passing null to parameter #1 ($string) of type string is deprecated.
parent 4413e166
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1193,7 +1193,7 @@ If you would like to have the characters \'[\' and \']\' please use the html ent
      $value = $this->render_altered($alter, $tokens);
    }

    if (!empty($this->options['alter']['trim_whitespace'])) {
    if (!is_null($value) && !empty($this->options['alter']['trim_whitespace'])) {
      $value = trim($value);
    }