From abcbcb601871f99c40ce757010a0772d767653be Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 25 Nov 2024 17:40:10 +0100 Subject: [PATCH] Update scripts/todays_detections.php Co-authored-by: Nachtzuster --- scripts/todays_detections.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 131fc74a..06b0753a 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -191,7 +191,7 @@ function relativeTime($ts) $iterations++; $comname = preg_replace('/ /', '_', $todaytable['Com_Name']); - $comnamegraph = preg_replace('/\'/', '__', $comname); + $comnamegraph = str_replace("'", "\'", $todaytable['Com_Name']); $comname = preg_replace('/\'/', '', $comname); $filename = "/By_Date/".date('Y-m-d')."/".$comname."/".$todaytable['File_Name']; $filename_formatted = $todaytable['Date']."/".$comname."/".$todaytable['File_Name'];