Fix formfield

Signed-off-by: Florian Aders <eleras@froxlor.org>
This commit is contained in:
Florian Aders
2016-01-30 14:22:32 +01:00
parent 51d554ab14
commit f3a7a9c342
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ return array(
),
'value' => array()
),
'useletsencrypt' => array(
'letsencrypt' => array(
'visible' => (Settings::Get('system.use_ssl') == '1' ? ($ssl_ipsandports != '' ? true : false) : false),
'label' => $lng['domains']['letsencrypt']['title'],
'desc' => $lng['domains']['letsencrypt']['description'],

View File

@@ -86,7 +86,7 @@ return array(
),
'value' => array($result['ssl_redirect'])
),
'useletsencrypt' => array(
'letsencrypt' => array(
'visible' => (Settings::Get('system.use_ssl') == '1' ? ($ssl_ipsandports != '' ? (domainHasSslIpPort($result['id']) ? true : false) : false) : false),
'label' => $lng['domains']['letsencrypt']['title'],
'desc' => $lng['domains']['letsencrypt']['description'],