Merge pull request #5618 from SeyedGH/patch-1

Update gateways.php
This commit is contained in:
FusionPBX 2020-12-09 20:06:06 -07:00 committed by GitHub
commit 059f1c48a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -553,7 +553,7 @@ if (!class_exists('gateways')) {
//add new gateways to session variables
if (is_array($gateways) && @sizeof($gateways) != 0) {
foreach ($gateways as $gateway_uuid -> $gateway) {
foreach ($gateways as $gateway_uuid => $gateway) {
$_SESSION['gateways'][$gateway_uuid] = $gateway['name'];
}
}
@ -580,4 +580,4 @@ if (!class_exists('gateways')) {
}
}
?>
?>