Module: nagvis
Branch: master
Commit: 0b0435119496b0e0c3048e18cd1f1535a44336a9
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=0b0435119496b0e0c3048e18cd1f1535a44336a9

Author: Roman Kyrylych <[email protected]>
Date:   Tue Aug 11 15:47:34 2009 +0300

gmap: Fixed wrong get_class() usage

Signed-off-by: Roman Kyrylych <[email protected]>

---

 share/netmap/Location.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/netmap/Location.php b/share/netmap/Location.php
index f069838..e3f353a 100644
--- a/share/netmap/Location.php
+++ b/share/netmap/Location.php
@@ -215,7 +215,7 @@ class Location
                {
                        $location = Location::fromXML($node);
 
-                       switch ($location->object->get_class())
+                       switch (get_class($location->object))
                        {
                                case 'Host':
                                        $location->state = 
Database::getHostState($location->object);


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to