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

Author: Roman Kyrylych <[email protected]>
Date:   Wed Jul 29 14:16:35 2009 +0300

Fixed a missing } in previous commit

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

---

 .../includes/classes/GlobalBackendmerlinmy.php     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/nagvis/includes/classes/GlobalBackendmerlinmy.php 
b/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
index 318fb36..3995f61 100644
--- a/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
+++ b/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
@@ -253,7 +253,7 @@ class GlobalBackendmerlinmy implements 
GlobalBackendInterface {
                        $QUERYHANDLE = $this->mysqlQuery('SELECT id, host_name 
AS name, address FROM host ORDER BY host_name');
                } elseif($type == 'service') {
                        $QUERYHANDLE = $this->mysqlQuery('SELECT id, host_name 
AS host, service_description AS description FROM service ORDER BY host_name');
-               elseif(in_array($type, array('hostgroup', 'servicegroup'))) {
+               } elseif(in_array($type, array('hostgroup', 'servicegroup'))) {
                        $QUERYHANDLE = $this->mysqlQuery("SELECT id, 
{$type}_name AS name, alias FROM $type ORDER BY {$type}_name");
                } else {
                        return Array();


------------------------------------------------------------------------------
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