From 5a7bb3842091bbc222e6d214fc02b1858caef26c Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 08:48:50 +0000 Subject: [PATCH] Added additional check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10312 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_systemManagement.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index e25a930bd..48ce658da 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -463,7 +463,8 @@ class systems extends plugin } /* Type detected */ - if(!empty($type)){ + $allow_for = array("terminal","workstation","server","component"); + if(!empty($type) && in_array($type,$allow_for)){ /* Get infos */ $class = $tabs[$type]["CLASS"]; -- 2.30.2