From 4e14d7a9b753eb9e55ceab7057c3fe91b66de03a Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Wed, 24 Apr 2013 13:32:55 +0000 Subject: [PATCH] 2013-04-24 Miguel de Dios * operation/agentes/networkmap.topology.php: fixed the PHP notice in the enterprise Dashboard. Fixes: #3611685 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 7 +++++++ pandora_console/operation/agentes/networkmap.topology.php | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 503e3d6267..875dd22684 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,10 @@ +2013-04-24 Miguel de Dios + + * operation/agentes/networkmap.topology.php: fixed the PHP + notice in the enterprise Dashboard. + + Fixes: #3611685 + 2013-04-24 Miguel de Dios * operation/agentes/networkmap.php, diff --git a/pandora_console/operation/agentes/networkmap.topology.php b/pandora_console/operation/agentes/networkmap.topology.php index 96623da519..97d1be14b4 100644 --- a/pandora_console/operation/agentes/networkmap.topology.php +++ b/pandora_console/operation/agentes/networkmap.topology.php @@ -31,6 +31,10 @@ require_once ('include/functions_networkmap.php'); // Set filter $filter = networkmap_get_filter ($layout); +if (!isset($text_filter)) { + $text_filter = ''; +} + // Generate dot file $graph = networkmap_generate_dot(__('Pandora FMS'), $group, $simple, $font_size, $layout, $nooverlap, $zoom, $ranksep, $center, $regen,