Module: nagvis Branch: master Commit: 7549c30b0ea01e86f0395d4730059f83a091bd5f URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=7549c30b0ea01e86f0395d4730059f83a091bd5f
Author: LaMi <[email protected]> Date: Sat Apr 10 00:54:30 2010 +0200 Fixed automap rendering after latest changes --- share/server/core/classes/objects/NagVisHost.php | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/share/server/core/classes/objects/NagVisHost.php b/share/server/core/classes/objects/NagVisHost.php index 42f2250..6bcbff5 100644 --- a/share/server/core/classes/objects/NagVisHost.php +++ b/share/server/core/classes/objects/NagVisHost.php @@ -73,6 +73,9 @@ class NagVisHost extends NagiosHost { $strReturn = ''; if(!in_array($this->getName(), $arrHostnamesParsed)) { + if($this->icon == '') + $this->fetchIcon(); + // Get the image size list($width, $height, $type, $attr) = getimagesize($this->CORE->getMainCfg()->getValue('paths', 'icon').$this->icon); ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
