Module: nagvis
Branch: master
Commit: ae888b9b27dff7190e8e08b1da162ea2178e4932
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=ae888b9b27dff7190e8e08b1da162ea2178e4932

Author: LaMi <[email protected]>
Date:   Thu Apr  1 01:30:15 2010 +0200

Small code cleanup

---

 share/server/core/classes/objects/NagVisObject.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/server/core/classes/objects/NagVisObject.php 
b/share/server/core/classes/objects/NagVisObject.php
index 79e81d1..0f51c58 100644
--- a/share/server/core/classes/objects/NagVisObject.php
+++ b/share/server/core/classes/objects/NagVisObject.php
@@ -150,7 +150,7 @@ class NagVisObject {
                if($this->type == 'service') {
                        return $this->host_name;
                } else {
-                       return $this->{$this->getType().'_name'};
+                       return $this->{$this->type.'_name'};
                }
        }
        


------------------------------------------------------------------------------
Download Intel&#174; 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

Reply via email to