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 dfd0909 commit 5c62ad6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/todays_detections.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@
$totalspeciestally = $result6->fetchArray(SQLITE3_ASSOC);

if(isset($_GET['comname'])) {
$birdName = $_GET['comname'];
$birdName = str_replace("__", "'", $birdName);
$birdName = str_replace("_", " ", $birdName);
$birdName = htmlspecialchars_decode($_GET['comname'], ENT_QUOTES);


// Prepare a SQL statement to retrieve the detection data for the specified bird
Expand Down

0 comments on commit 5c62ad6

Please sign in to comment.