From: hickert Date: Thu, 10 Apr 2008 08:48:50 +0000 (+0000) Subject: Added additional check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5a7bb3842091bbc222e6d214fc02b1858caef26c;p=gosa.git Added additional check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10312 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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"];