Set the dialplan_detail_enabled default value to true.

This commit is contained in:
FusionPBX
2021-01-19 22:18:40 -07:00
committed by GitHub
parent 1ddf5bbf41
commit 7d3e754812

View File

@@ -412,7 +412,7 @@
$details[$group][$x]['dialplan_detail_inline'] = '';
$details[$group][$x]['dialplan_detail_group'] = $group;
$details[$group][$x]['dialplan_detail_order'] = $dialplan_detail_order;
$details[$group][$x]['dialplan_detail_enabled'] = '';
$details[$group][$x]['dialplan_detail_enabled'] = 'true';
}
}
@@ -774,6 +774,11 @@
$dialplan_detail_order = $row['dialplan_detail_order'];
$dialplan_detail_enabled = $row['dialplan_detail_enabled'];
//default to enabled true
if (strlen($dialplan_detail_enabled) == 0) {
$dialplan_detail_enabled = 'true';
}
//no border on last row
$no_border = ($index == 999) ? "border: none;" : null;