Merge branch 'ent-10846-Vista-HA-en-Metaconsola' into 'develop'

implemented database ha view in metaconsole

See merge request artica/pandorafms!6275
This commit is contained in:
Daniel Rodriguez 2023-09-13 10:47:03 +00:00
commit d1fcbca557
1 changed files with 1 additions and 1 deletions

View File

@ -3303,7 +3303,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;
}
}