Author:   Lars Michelsen <[email protected]>
Date:     Sat Feb 25 16:37:34 2012 +0100
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Feb 25 16:37:34 2012 +0100

Bugfix: Fixed wrong variable in MySQL connect error handler

---

 ChangeLog                                      |    3 +++
 share/server/core/classes/CoreMySQLHandler.php |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ef488b8..fa31fbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,7 @@
 1.6.5
+Core
+  * Bugfix: Fixed wrong variable in MySQL connect error handler
+
 Frontend
   * Bugfix: Fixed cloning shape objects (view_type error message)
 
diff --git a/share/server/core/classes/CoreMySQLHandler.php 
b/share/server/core/classes/CoreMySQLHandler.php
index 1991215..6eb950a 100644
--- a/share/server/core/classes/CoreMySQLHandler.php
+++ b/share/server/core/classes/CoreMySQLHandler.php
@@ -67,7 +67,7 @@ class CoreMySQLHandler {
         if(!$returnCode){
             throw new NagVisException(l('errorSelectingDb',
                          Array('BACKENDID' => 'MySQLHandler',
-                               'MYSQLERR'  => mysql_error($this->CONN))));
+                               'MYSQLERR'  => mysql_error($this->DB))));
         } else {
             return true;
         }


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to