Author:   Lars Michelsen <[email protected]>
Date:     Fri Oct 28 12:15:56 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Fri Oct 28 12:15:56 2011 +0200

Fixed wrong variable name

---

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

diff --git a/share/server/core/classes/GlobalMapCfg.php 
b/share/server/core/classes/GlobalMapCfg.php
index 84a6007..7c7b762 100644
--- a/share/server/core/classes/GlobalMapCfg.php
+++ b/share/server/core/classes/GlobalMapCfg.php
@@ -281,9 +281,9 @@ class GlobalMapCfg {
             // problems with PHP 5.1.2 while testing with e.g. SLES10SP1. So 
added that workaround
             // here.
             if(version_compare(PHP_VERSION, '5.1.2', '==')) {
-                $cfgFile = file($this->configFile);
+                $file = file($this->configFile);
             } else { 
-                $cfgFile = file($this->configFile, FILE_SKIP_EMPTY_LINES | 
FILE_IGNORE_NEW_LINES);
+                $file = file($this->configFile, FILE_SKIP_EMPTY_LINES | 
FILE_IGNORE_NEW_LINES);
             }
 
             // Create an array for these options


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to