Fixed square bracket @line 159

This commit is contained in:
Riccardo Bicelli 2020-01-24 16:39:58 +01:00
parent 40714dc92f
commit a877649b33
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ function pfz_services_discovery(){
//id for OpenVPN
if (!empty($service['id'])) $id = "." . $service["id"];
//zone for Captive Portal
if (!empty($service['zone')) $id = "." . $service["zone"];
if (!empty($service['zone'])) $id = "." . $service["zone"];
$json_string .= '{"{#SERVICE}":"' . $service['name'] . $id . '"';
$json_string .= ',"{#DESCRIPTION}":"' . $service['description'] . '"';