summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0898d2b)
raw | patch | inline | side by side (parent: 0898d2b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2011 06:12:33 +0000 (06:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 17 Aug 2011 06:12:33 +0000 (06:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20969 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc
index 3f11ec83aa539c8201df995abc4d43a01d31dcc3..3c2b052f4ce518de9f461479be2f42f2c36d4f7c 100644 (file)
$headpage = $this->getHeadpage();
$dn = $target[0];
$type =$headpage->getType($dn);
+
+ if(!isset($tInfo[$type])){
+ msg_dialog::display(_("Information"),sprintf(_("The object-type '%s' cannot be managed with your setup of GOsa, please install the required plugins!"), $type), ERROR_DIALOG);
+ return;
+ }
+
$tData = $tInfo[$type];
if($type == "FAKE_OC_ArpNewDevice"){