mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Dialplan - Edit: Update for PHP 8.1
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2021
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2023
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -912,7 +912,7 @@
|
||||
// split up failover bridges and get variables in statement
|
||||
$failover_bridges = explode('|', $dialplan_detail_data);
|
||||
preg_match('/^\{.*\}/', $failover_bridges[0], $bridge_vars);
|
||||
$bridge_vars = $bridge_vars[0];
|
||||
$bridge_vars = $bridge_vars[0] ?? '';
|
||||
|
||||
// rename parse and rename each gateway
|
||||
foreach ($failover_bridges as $bridge_statement_exploded) {
|
||||
|
||||
Reference in New Issue
Block a user