Fixed a minor bug in remote config - #3611
Former-commit-id: 905739bc36ce640de743f4d6cf62031263c698eb
This commit is contained in:
parent
5f2bd0bc8d
commit
e9082c5d8a
|
@ -488,9 +488,7 @@ if (enterprise_installed()) {
|
|||
// Remote configuration
|
||||
$table_adv_remote = '<div class="label_select"><p class="input_label">'.__('Remote configuration').': </p>';
|
||||
|
||||
if (!$new_agent) {
|
||||
$table_adv_remote .= '<em>'.__('Not available').'</em>';
|
||||
if (isset($filename)) {
|
||||
if (!$new_agent && isset($filename)) {
|
||||
if (file_exists($filename['md5'])) {
|
||||
$table_adv_remote .= date('F d Y H:i:s', fileatime($filename['md5']));
|
||||
// Delete remote configuration
|
||||
|
@ -508,7 +506,6 @@ if (enterprise_installed()) {
|
|||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$table_adv_remote .= '<em>'.__('Not available').'</em>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue