Module: check_mk
Branch: master
Commit: 49b7ff5a00846e46760a784fc24b0aac76f5b3d7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=49b7ff5a00846e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 23 11:17:07 2011 +0100
WATO: Fixed syntax error
---
web/htdocs/wato.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 6c72300..6df17a2 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -719,6 +719,7 @@ def get_folder_aliaspath(folder, show_main = True):
# '----------------------------------------------------------------------'
def mode_folder(phase):
+ global g_folder
if phase == "title":
return g_folder["title"]
@@ -763,7 +764,6 @@ def mode_folder(phase):
mark_affected_sites_dirty(what_folder)
move_folder(what_folder, target_folder)
load_all_folders()
- global g_folder
g_folder = g_folders[html.var("folder")]
# Folder hav been reloaded, so our object is invalid
target_folder = g_folders[path]