diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-13 08:38:11 +0545 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-01-13 18:44:52 -0200 |
commit | 7492e42006f88374092e60b284958c15222931f3 (patch) | |
tree | c879d7cff9a0228e259234d3f8ece1a4ee4aa7c9 /src/usr/local/www/widgets | |
parent | c8e0a211627d4b13db8e214b54c9179b7f6ce167 (diff) | |
download | pfsense-7492e42006f88374092e60b284958c15222931f3.zip pfsense-7492e42006f88374092e60b284958c15222931f3.tar.gz |
Display Dyn DNS type if description not found
(cherry picked from commit 7b3d8a4b8cee0588ed2ccd272588026002369433)
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php index 315edfa..1a6cd4f 100644 --- a/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php +++ b/src/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -171,7 +171,7 @@ $dyndns_providers = array_combine(explode(" ", DYNDNS_PROVIDER_VALUES), explode( ?> </td> <td> - <?=htmlspecialchars($dyndns_providers[$dyndns['type']]);?> + <?=isset($dyndns_providers[$dyndns['type']]) ? htmlspecialchars($dyndns_providers[$dyndns['type']]) : $dyndns['type'];?> <?php if ($dyndns['type'] == '_rfc2136_') : ?> RFC 2136 |