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

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

GlobalBackendmerlinmy: Fixed fetch_assoc

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 3995f61..8853edd 100644
--- a/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
+++ b/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
@@ -259,7 +259,7 @@ class GlobalBackendmerlinmy implements 
GlobalBackendInterface {
                        return Array();
                }
                
-               while($data = mysql_fetch_array($QUERYHANDLE, MSQL_ASSOC)) {
+               while($data = mysql_fetch_assoc($QUERYHANDLE)) {
                        $ret[] = $data;
                }
                


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