Fixed PHP Warning.

This commit is contained in:
mdtrooper 2015-08-28 18:01:30 +02:00
parent bcb1b7123a
commit a79666f60c
2 changed files with 6 additions and 0 deletions

View File

@ -60,6 +60,9 @@ $strict_user = db_get_value('strict_acl', 'tusuario', 'id_user', $config['id_use
// Set filter
$filter = networkmap_get_filter ($layout);
if (!isset($size_canvas)) {
$size_canvas = null;
}
// Generate dot file
$graph = networkmap_generate_dot_groups (__('Pandora FMS'), $group,

View File

@ -64,6 +64,9 @@ if (!isset($text_filter)) {
$text_filter = '';
}
if (!isset($size_canvas)) {
$size_canvas = null;
}
// Generate dot file