From af62f9f49d29a479cf7151e6506b60b156733052 Mon Sep 17 00:00:00 2001 From: Sejin Kim Date: Mon, 5 Oct 2020 17:34:27 -0400 Subject: [PATCH] Fix PHP syntax error Added a semicolon that allows fresh installations on *NIX to work properly with PHP 7.2+ --- classes/incident.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/incident.php b/classes/incident.php index 2eb9acb..0385754 100644 --- a/classes/incident.php +++ b/classes/incident.php @@ -84,7 +84,7 @@ class Incident implements JsonSerializable $user_id = $_SESSION['user']; $type = $_POST['type']; $title = strip_tags($_POST['title']); - $text = strip_tags($_POST['text'], '
') + $text = strip_tags($_POST['text'], '
'); if (strlen($title)==0) {