diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 68b90c5dc9..4bc25da298 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -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; } }