fix undefined language-string index in add/edit ip
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -18,10 +18,6 @@
|
||||
*/
|
||||
|
||||
define('AREA', 'admin');
|
||||
|
||||
/**
|
||||
* Include our init.php, which manages Sessions, Language etc.
|
||||
*/
|
||||
require ("./lib/init.php");
|
||||
|
||||
if (isset($_POST['id'])) {
|
||||
|
||||
@@ -126,7 +126,8 @@ return array(
|
||||
'type' => 'text'
|
||||
),
|
||||
'ssl_cert_chainfile' => array(
|
||||
'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'],
|
||||
'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['title'],
|
||||
'desc' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['description'],
|
||||
'type' => 'text'
|
||||
)
|
||||
)
|
||||
|
||||
@@ -134,7 +134,8 @@ return array(
|
||||
'value' => $result['ssl_ca_file']
|
||||
),
|
||||
'ssl_cert_chainfile' => array(
|
||||
'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile'],
|
||||
'label' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['title'],
|
||||
'desc' => $lng['admin']['ipsandports']['ssl_cert_chainfile']['description'],
|
||||
'type' => 'text',
|
||||
'value' => $result['ssl_cert_chainfile']
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user