Skip to content

A live bird collage card for your Home Assistant dashboard.

Update config.php

ehpersonal386ef9016020a5
diff --git a/scripts/config.php b/scripts/config.php
index fe0cd641..8d185c1b 100644
--- a/scripts/config.php
+++ b/scripts/config.php
@@ -150,10 +150,9 @@ if(isset($_GET['sendtest']) && $_GET['sendtest'] == "true") {
$result0 = $statement0->execute();
while($todaytable=$result0->fetchArray(SQLITE3_ASSOC))
{
- $comname = preg_replace('/ /', '_', $todaytable['Com_Name']);
- $comname = preg_replace('/\'/', '_', $comname);
+ $comname = $todaytable['Com_Name'];
$filename = $todaytable['File_Name'];
- $sciname = preg_replace('/ /', '_', $todaytable['Sci_Name']);
+ $sciname = $todaytable['Sci_Name'];
$confidence = $todaytable["Confidence"];
}