don't let dash remove a '_' from URCall

pull/14/head
Tom Early 6 years ago
parent ede11f7af2
commit 978de0ff62

@ -211,7 +211,7 @@ if ('true' == GetCFGValue('dash_show_ur')) {
$fmodule = $_POST['fmodule']; $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) { if (strlen($furcall)>0 && strlen($fmodule)>0) {
$command = 'qnremote '.strtolower($fmodule).' '.strtolower($cfg['ircddb_login']).' '.$furcall; $command = 'qnremote '.strtolower($fmodule).' '.strtolower($cfg['ircddb_login']).' '.$furcall;

Loading…
Cancel
Save

Powered by TurnKey Linux.