summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd2b562)
raw | patch | inline | side by side (parent: cd2b562)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 08:18:49 +0000 (08:18 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Apr 2008 08:18:49 +0000 (08:18 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10347 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_FAI.inc | patch | blob | history |
index 73848e7faf953ebd55959eb828532ea4cb0bdcc8..1fef153b638bc87723acf6a0508d7f0c0725b73e 100644 (file)
/* check which objects must be saved */
$FAI_objects_to_save = session::get('FAI_objects_to_save');
+ if(!is_array($FAI_objects_to_save)) {
+ trigger_error("Can't save FAI objects, no array given.");
+ return;
+ }
foreach($FAI_objects_to_save as $Current_DN => $object){
if($object['diff']){
$sub_name = $Current_DN;