Fix. Add missing braces in gateways.php (#2179)

This commit is contained in:
Alexey Melnichuk
2016-11-24 20:09:14 +03:00
committed by FusionPBX
parent 69585d2023
commit e3e5e2fcfc

View File

@@ -172,7 +172,7 @@ else {
$edit_link = null;
$delete_link = null;
if (strlen($row['domain_uuid']) == 0) {
if (permission_exists('gateway_domain') {
if (permission_exists('gateway_domain')) {
if (permission_exists('gateway_edit')) {
$edit_link = "href='gateway_edit.php?id=".$row['gateway_uuid'];
}