From 0cd87e682012f224e2b74531190bb983fdcbb430 Mon Sep 17 00:00:00 2001
From: Florian Schaal <florian@schaal-24.de>
Date: Sun, 10 Jan 2016 03:31:27 -0500
Subject: [PATCH] Revert "allow 0 for ISINT"
---
interface/web/tools/lib/menu.d/resync.menu.php | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/interface/web/tools/lib/menu.d/resync.menu.php b/interface/web/tools/lib/menu.d/resync.menu.php
index 3ef45fb..65a331f 100644
--- a/interface/web/tools/lib/menu.d/resync.menu.php
+++ b/interface/web/tools/lib/menu.d/resync.menu.php
@@ -5,18 +5,17 @@
if($app->auth->is_admin()) {
-$items = array();
+ $items = array();
-$items[] = array( 'title' => 'Resync',
- 'target' => 'content',
- 'link' => 'tools/resync.php');
+ $items[] = array( 'title' => 'Resync',
+ 'target' => 'content',
+ 'link' => 'tools/resync.php');
+ $module['nav'][] = array( 'title' => 'Sync Tools',
+ 'open' => 1,
+ 'items' => $items);
-$module['nav'][] = array( 'title' => 'Sync Tools',
- 'open' => 1,
- 'items' => $items);
-
-unset($items);
+ unset($items);
}
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1