implemented database ha view in metaconsole

This commit is contained in:
alejandro.campos@artica.es 2023-07-24 13:11:05 +02:00
parent 2a03a9ae2f
commit 354324b9d1
1 changed files with 1 additions and 1 deletions

View File

@ -3294,7 +3294,7 @@ function html_print_input_image($name, $src, $value, $style='', $return=false, $
// If metaconsole is activated and image doesn't exists try to search on normal console.
if (is_metaconsole() === true) {
if (false === @file_get_contents($src, 0, null, 0, 1)) {
if ($src !== null && false === @file_get_contents($src, 0, null, 0, 1)) {
$src = '../../'.$src;
}
}