diff --git a/database.mwb b/database.mwb index 4553fc8..d7562e4 100644 Binary files a/database.mwb and b/database.mwb differ diff --git a/pages/components.php b/pages/components.php index 20b91fe..90c9c36 100644 --- a/pages/components.php +++ b/pages/components.php @@ -35,9 +35,9 @@ if (!empty($VARS["attachto"]) && Machine::exists($VARS["attachto"])) { get('Actions'); ?> get('ID'); ?> get('Machine ID'); ?> - get('Model'); ?> + get('Model'); ?> get('Serial'); ?> - get('Capacity'); ?> + get('Capacity'); ?> @@ -59,7 +59,7 @@ if (!empty($VARS["attachto"]) && Machine::exists($VARS["attachto"])) { } ?> - + @@ -79,12 +79,11 @@ if (!empty($VARS["attachto"]) && Machine::exists($VARS["attachto"])) { get('Actions'); ?> - get('ID'); ?> - get('Client'); ?> - get('OS/Software'); ?> - get('Model'); ?> - get('Last Event'); ?> - get('Serial'); ?> + get('ID'); ?> + get('Machine ID'); ?> + get('Model'); ?> + get('Serial'); ?> + get('Capacity'); ?> \ No newline at end of file diff --git a/pages/editcomponent.php b/pages/editcomponent.php index 13e4516..68a1075 100644 --- a/pages/editcomponent.php +++ b/pages/editcomponent.php @@ -15,6 +15,8 @@ if (!$user->hasPermission("MACHINEMANAGER_EDIT")) { $editing = false; +$machine = null; + if (!empty($VARS["arg"]) && Component::exists($VARS["arg"])) { $editing = true; $component = new Component($VARS["arg"]);