Author:   Lars Michelsen <[email protected]>
Date:     Sat Jul 23 12:11:46 2011 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Sat Jul 23 12:11:46 2011 +0200

Bugfix: Fixed undefied var error when having no maps and displaying the 
overview page

---

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

diff --git a/ChangeLog b/ChangeLog
index d39118b..6bdab90 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@ Frontend
   * Bugfix: Fixed coloring of two part lines in IE
   * Bugfix: Fixed drawing of second part in two part lines in IE
   * Bugfix: Preventing text selections while dragging objects in IE
+  * Bugfix: Fixed undefied var error when having no maps and displaying the 
overview page
 
 Core
   * omd_install: Installing missing doc/ dir now; Cleaning cache files on 
install
diff --git a/share/server/core/classes/GlobalIndexPage.php 
b/share/server/core/classes/GlobalIndexPage.php
index e96b0db..4547163 100644
--- a/share/server/core/classes/GlobalIndexPage.php
+++ b/share/server/core/classes/GlobalIndexPage.php
@@ -168,7 +168,7 @@ class GlobalIndexPage {
             }
         }
 
-        if($mapType == 'map') {
+        if($type == 'map') {
             $this->BACKEND->execute();
 
             foreach($aObjs AS $aObj) {
@@ -474,4 +474,4 @@ class GlobalIndexPage {
         }
     }
 }
-?>
\ No newline at end of file
+?>


------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to