mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
bugfix when retrieving region
This commit is contained in:
@@ -44,7 +44,7 @@ require_once "resources/header.php";
|
||||
$destination = new destinations;
|
||||
|
||||
//load available presets
|
||||
$preset_region = "preset_".$_SESSION['time_conditions']['region'];
|
||||
$preset_region = "preset_".$_SESSION['time_conditions']['region']['text'];
|
||||
foreach ($_SESSION['time_conditions'][$preset_region] as $json) {
|
||||
$available_presets[] = json_decode($json, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user