Module: nagvis
Branch: master
Commit: 155cdd3a0fa57f85d053e3a201f3d6e815872af1
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=155cdd3a0fa57f85d053e3a201f3d6e815872af1

Author: Lars Michelsen <[email protected]>
Date:   Fri Jan 21 21:56:36 2011 +0100

Fixed php error when using custom css files in maps

---

 .../nagvis-js/classes/FrontendModAutoMap.php       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/frontend/nagvis-js/classes/FrontendModAutoMap.php 
b/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
index fed935a..b9f13dc 100644
--- a/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
+++ b/share/frontend/nagvis-js/classes/FrontendModAutoMap.php
@@ -138,7 +138,7 @@ class FrontendModAutoMap extends FrontendModule {
                // Need to load the custom stylesheet?
                $customStylesheet = $MAPCFG->getValue(0, 'stylesheet');
                if($customStylesheet !== '') {
-                       
$INDEX->setCustomStylesheet($CORE->getMainCfg()->getValue('paths','htmlstyles') 
. $customStylesheet);
+                       
$INDEX->setCustomStylesheet($this->CORE->getMainCfg()->getValue('paths','htmlstyles')
 . $customStylesheet);
                }
                
                // Header menu enabled/disabled by url?


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to