Author:   Lars Michelsen <[email protected]>
Date:     Thu Jul 12 09:59:38 2012 +0200
Committer:   Lars Michelsen <[email protected]>
Commit-Date: Thu Jul 12 09:59:38 2012 +0200

Bugfix: Fixed PHP error in multisite snapin code

---

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

diff --git a/ChangeLog b/ChangeLog
index 68f301e..cbda355 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,7 @@ Core
   * Bugfix: Fixed re-rendering of geomaps after map source changes
   * Bugfix: Fixed re-fetching of background image after changed geomap source 
file
   * Bugfix: Geomap allows placing only one host on the geomap now (Added 
geomap_border option)
+  * Bugfix: Fixed PHP error in multisite snapin code
 
 Frontend
   * Added new map config option (global section) event_on_load to raise 
frontend events
diff --git a/share/server/core/classes/CoreModMultisite.php 
b/share/server/core/classes/CoreModMultisite.php
index c4fc4fa..aa6d0f3 100644
--- a/share/server/core/classes/CoreModMultisite.php
+++ b/share/server/core/classes/CoreModMultisite.php
@@ -68,7 +68,7 @@ class CoreModMultisite extends CoreModule {
      * @author         Lars Michelsen <[email protected]>
      */
     private function getMaps() {
-        global $AUTHORISATION;
+        global $_BACKEND, $AUTHORISATION;
         $aObjs = Array();
         foreach($this->CORE->getAvailableMaps() AS $object_id => $mapName) {
             if(!$AUTHORISATION->isPermitted('Map', 'view', $mapName))


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to