summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-08-19 13:36:46 -0400
committerSteve Beaver <sbeaver@netgate.com>2017-08-19 13:36:46 -0400
commit2438b40dceaff2a23638be66018f8c9dc46d2e01 (patch)
treeb50a0ea141ecfc2912e043f7a56fea1d762b3768
parent3a5b47dd780271a1b7851d65389556596445d9ac (diff)
downloadpfsense-2438b40dceaff2a23638be66018f8c9dc46d2e01.zip
pfsense-2438b40dceaff2a23638be66018f8c9dc46d2e01.tar.gz
Fixed JSON format in IPSec widet per Kill Bill (Thanks!)
-rw-r--r--src/usr/local/www/widgets/widgets/ipsec.widget.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php
index f7882e6..7db655a 100644
--- a/src/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -198,10 +198,9 @@ $jsondata .= "\"mobile\":\"";
$jsondata .= "</tr>";
}
}
- } else {
- $jsondata .= "\"}";
}
+ $jsondata .= "\"}";
print($jsondata);
exit;
}
OpenPOWER on IntegriCloud