Module: nagvis Branch: master Commit: 2d32bf8c92d14177823a449526955169c1755d5b URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=2d32bf8c92d14177823a449526955169c1755d5b
Author: LaMi <[email protected]> Date: Wed Nov 18 19:59:00 2009 +0100 Fixed var name --- .../nagvis-js/classes/GlobalHeaderMenu.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/share/frontend/nagvis-js/classes/GlobalHeaderMenu.php b/share/frontend/nagvis-js/classes/GlobalHeaderMenu.php index 307b4dc..0c5dced 100644 --- a/share/frontend/nagvis-js/classes/GlobalHeaderMenu.php +++ b/share/frontend/nagvis-js/classes/GlobalHeaderMenu.php @@ -110,7 +110,7 @@ class GlobalHeaderMenu { $this->aMacros['bRotation'] = $this->bRotation; // Check if the user is permitted to edit the current map/automap - if(isset($this->aMacros['view_type']) && $this->CORE->getAuthorization() !== null && $this->CORE->getAuthorization()->isPermitted($this->aMacros['view_type'], 'edit', $this->OBJPAGE->getName())) { + if(isset($this->aMacros['viewType']) && $this->CORE->getAuthorization() !== null && $this->CORE->getAuthorization()->isPermitted($this->aMacros['viewType'], 'edit', $this->OBJPAGE->getName())) { $this->aMacros['permittedEdit'] = true; } else { $this->aMacros['permittedEdit'] = false; ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagvis-checkins mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagvis-checkins
