Skip to content

Commit

Permalink
FIX: Sidebar menu: Deleted maps were still visible in sidebar (fixes #76
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LarsMichelsen committed Dec 26, 2016
1 parent e528321 commit b2d9c5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -13,6 +13,7 @@ Frontend:
* FIX: Fixed lines using ack_bgcolor (when configured)
* FIX: Fixed wrong visualization (hover text, line color) of acknowledged services
* FIX: Overview page: Fixed disappearing maps on state changes
* FIX: Sidebar menu: Deleted maps were still visible in sidebar

1.9b10
Core:
Expand Down
2 changes: 1 addition & 1 deletion share/frontend/nagvis-js/classes/NagVisHeaderMenu.php
Expand Up @@ -148,7 +148,7 @@ private function getMapList() {
$cfgFiles[$name] = $path.$name.".cfg";

$CACHE = new GlobalFileCache($cfgFiles,
cfg('paths','var').'maplist-full-global.cfg-'.CONST_VERSION.'-cache');
cfg('paths','var').'maplist-full-global.cfg-'.count($cfgFiles).'-'.CONST_VERSION.'-cache');

if ($CACHE->isCached() !== -1
&& $_MAINCFG->isCached() !== -1
Expand Down

0 comments on commit b2d9c5c

Please sign in to comment.