Implemented fix proposed in Issue 880 to include missing time-of-day case in switch statement within save_dialplan_xml(). Thanks, Seth.

This commit is contained in:
Nate Jones 2015-03-15 01:15:23 +00:00
parent 3dd924775a
commit 74280c78dc
1 changed files with 15 additions and 32 deletions

View File

@ -2382,32 +2382,15 @@ function save_dialplan_xml() {
//get the generic type //get the generic type
switch ($ent['dialplan_detail_type']) { switch ($ent['dialplan_detail_type']) {
case "hour": case "hour":
$type = 'time';
break;
case "minute": case "minute":
$type = 'time';
break;
case "minute-of-day": case "minute-of-day":
$type = 'time'; case "time-of-day":
break;
case "mday": case "mday":
$type = 'time';
break;
case "mweek": case "mweek":
$type = 'time';
break;
case "mon": case "mon":
$type = 'time';
break;
case "yday": case "yday":
$type = 'time';
break;
case "year": case "year":
$type = 'time';
break;
case "wday": case "wday":
$type = 'time';
break;
case "week": case "week":
$type = 'time'; $type = 'time';
break; break;