From 978de0ff6262cd46a541c64adf5536e124681b81 Mon Sep 17 00:00:00 2001 From: Tom Early Date: Sat, 7 Mar 2020 19:52:25 -0700 Subject: [PATCH] don't let dash remove a '_' from URCall --- example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.php b/example.php index 5dca787..ac0c17d 100644 --- a/example.php +++ b/example.php @@ -211,7 +211,7 @@ if ('true' == GetCFGValue('dash_show_ur')) { $fmodule = $_POST['fmodule']; } } - $furcall = str_replace(' ', '_', trim(preg_replace('/[^0-9a-z ]/', '', strtolower($furcall)))); + $furcall = str_replace(' ', '_', trim(preg_replace('/[^0-9a-z_ ]/', '', strtolower($furcall)))); if (strlen($furcall)>0 && strlen($fmodule)>0) { $command = 'qnremote '.strtolower($fmodule).' '.strtolower($cfg['ircddb_login']).' '.$furcall;