From c6b1215562cbbd7771a721327e445b2d8539671b Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Wed, 30 Oct 2013 22:41:22 -0500 Subject: [PATCH] Fix oops in HTML cleanup helper decl --- include/class.format.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.format.php b/include/class.format.php index 7ca772fc9..a6dd026d1 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -161,7 +161,7 @@ class Format { $width); } - static function __html_cleanup($el, $attributes) { + static function __html_cleanup($el, $attributes=0) { static $eE = array('area'=>1, 'br'=>1, 'col'=>1, 'embed'=>1, 'hr'=>1, 'img'=>1, 'input'=>1, 'isindex'=>1, 'param'=>1); // Clean unexpected class values -- GitLab