From 275093f2022849e665e4f154000d5ff47bc5850f Mon Sep 17 00:00:00 2001 From: Polycapa Date: Tue, 2 May 2017 11:23:12 +0200 Subject: [PATCH] Fix for codeclimate --- main/admin/course_add.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/admin/course_add.php b/main/admin/course_add.php index 30d63568f0..0f71ace73a 100755 --- a/main/admin/course_add.php +++ b/main/admin/course_add.php @@ -48,7 +48,8 @@ $form->addText( true, array( 'id' => 'title' - )); + ) +); $form->applyFilter('title', 'html_filter'); $form->applyFilter('title', 'trim');