diff --git a/components/pagemap.php b/components/pagemap.php
index cef695a4900502d249fc5ced72e8f05eaf6f6a1c..7d64e60ea702ca297efdf6b2c42586f16921a502 100644
--- a/components/pagemap.php
+++ b/components/pagemap.php
@@ -7,9 +7,9 @@ if (isset($session->groups[$permission])) {
     $smarty->assign("html", TRUE);
 
 
-unset($output);
+    unset($output);
 
-if (@$pathlist[3] == "Edit") {
+    if (@$pathlist[3] == "Edit") {
 	if (isset($_REQUEST['mapid'])) {
 		$id = (int)$_REQUEST['mapid'];
 
@@ -25,7 +25,9 @@ if (@$pathlist[3] == "Edit") {
 		header("Location: /Admin/Pagemap");
 		exit;
 	}
-} 
+    } 
+
+}
 
 if (!isset($output)) {
 	$smarty->assign("map",$DB->GetAll("SELECT * FROM pagemap ORDER BY depth, path"));