Set the dialplan_detail_enabled default value to true.
This commit is contained in:
@@ -412,7 +412,7 @@
|
|||||||
$details[$group][$x]['dialplan_detail_inline'] = '';
|
$details[$group][$x]['dialplan_detail_inline'] = '';
|
||||||
$details[$group][$x]['dialplan_detail_group'] = $group;
|
$details[$group][$x]['dialplan_detail_group'] = $group;
|
||||||
$details[$group][$x]['dialplan_detail_order'] = $dialplan_detail_order;
|
$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_order = $row['dialplan_detail_order'];
|
||||||
$dialplan_detail_enabled = $row['dialplan_detail_enabled'];
|
$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 on last row
|
||||||
$no_border = ($index == 999) ? "border: none;" : null;
|
$no_border = ($index == 999) ? "border: none;" : null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user