mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
When finding matches add regular expression matching
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
}
|
||||
|
||||
//find all other matching actions
|
||||
if ($value['extension'] == $detail_action) {
|
||||
if ($value['extension'] == $detail_action or preg_match('/^'.$value['extension'].'$/', $detail_action)) {
|
||||
if (file_exists($_SERVER["PROJECT_ROOT"]."/app/".$application."/app_languages.php")) {
|
||||
$value['application'] = $application;
|
||||
return $value;
|
||||
|
||||
Reference in New Issue
Block a user