#12695 wip remove warnings
This commit is contained in:
parent
e6e98aeb39
commit
50187a8c15
|
@ -408,7 +408,7 @@ class Cloud extends Wizard
|
||||||
{
|
{
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
$pandora = io_safe_output($config['cloud_util_path']);
|
$pandora = io_safe_output(($config['cloud_util_path'] ?? ''));
|
||||||
|
|
||||||
if (isset($pandora) === false) {
|
if (isset($pandora) === false) {
|
||||||
config_update_value('cloud_util_path', '/usr/bin/pandora-cm-api');
|
config_update_value('cloud_util_path', '/usr/bin/pandora-cm-api');
|
||||||
|
|
|
@ -694,7 +694,7 @@ class Diagnostics extends Wizard
|
||||||
WHERE tagente_estado.estado = 4';
|
WHERE tagente_estado.estado = 4';
|
||||||
$notInitAgents = db_get_sql($sqlNotInitAgents);
|
$notInitAgents = db_get_sql($sqlNotInitAgents);
|
||||||
|
|
||||||
$dateDbMantenaince = $config['db_maintance'];
|
$dateDbMantenaince = ($config['db_maintance'] ?? '');
|
||||||
|
|
||||||
$currentTime = time();
|
$currentTime = time();
|
||||||
|
|
||||||
|
|
|
@ -657,7 +657,7 @@ class HTML
|
||||||
|
|
||||||
// Print independent block of inputs.
|
// Print independent block of inputs.
|
||||||
$output .= '<ul class="wizard '.$input['block_class'].'">';
|
$output .= '<ul class="wizard '.$input['block_class'].'">';
|
||||||
$output .= '<li id="'.$input['block_id'].'" class="'.$class.'">';
|
$output .= '<li id="'.($input['block_id'] ?? '').'" class="'.$class.'">';
|
||||||
foreach ($input['block_content'] as $input) {
|
foreach ($input['block_content'] as $input) {
|
||||||
$output .= self::printBlockAsGrid($input, $return);
|
$output .= self::printBlockAsGrid($input, $return);
|
||||||
}
|
}
|
||||||
|
@ -1033,6 +1033,10 @@ class HTML
|
||||||
$form['extra'] = '';
|
$form['extra'] = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($form['enctype']) === false) {
|
||||||
|
$form['enctype'] = '';
|
||||||
|
}
|
||||||
|
|
||||||
$rows = $data['rows'];
|
$rows = $data['rows'];
|
||||||
$rawInputs = $data['rawInputs'];
|
$rawInputs = $data['rawInputs'];
|
||||||
$js = $data['js'];
|
$js = $data['js'];
|
||||||
|
|
Loading…
Reference in New Issue