diff --git a/html/pages/device.php b/html/pages/device.php index 2db2c1edf..0d32ee9b7 100644 --- a/html/pages/device.php +++ b/html/pages/device.php @@ -183,7 +183,7 @@ echo('
Settings
diff --git a/html/pages/device/edit.inc.php b/html/pages/device/edit.inc.php
index f23108274..306cf580a 100644
--- a/html/pages/device/edit.inc.php
+++ b/html/pages/device/edit.inc.php
@@ -1,11 +1,11 @@
"5") {
+ if($_SESSION['userlevel'] > "7") {
include("includes/device-edit.inc.php");
}
}