summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 49667f9)
raw | patch | inline | side by side (parent: 49667f9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 07:25:06 +0000 (07:25 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 07:25:06 +0000 (07:25 +0000) |
-If there are classes assigned to a workstation that doesn't exist anymore, several PHP warning are displayed.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7880 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7880 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationStartup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index ef10f4abb94e902ecf537c7496f2c44f216963e0..dc07cb02a08b83be452a8d513f8c77ba557d0453 100644 (file)
$i ++ ;
$desc = "";
- foreach($this->FAIclassInfo[$class] as $types ){
- if(isset($types['desc'][0])){
- $desc.= $types['desc'][0]." ";
+ if(isset($this->FAIclassInfo[$class])){
+ foreach($this->FAIclassInfo[$class] as $types ){
+ if(isset($types['desc'][0])){
+ $desc.= $types['desc'][0]." ";
+ }
}
}
if(!empty($desc)){