Skip to content

Commit

Permalink
Update scripts/todays_detections.php
Browse files Browse the repository at this point in the history
Co-authored-by: Nachtzuster <[email protected]>
  • Loading branch information
alexbelgium and Nachtzuster committed Nov 25, 2024
1 parent 5c62ad6 commit abcbcb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/todays_detections.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit abcbcb6

Please sign in to comment.