From: hickert Date: Fri, 18 Apr 2008 08:40:53 +0000 (+0000) Subject: Fixed php warning for FAI copy & paste X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b3df81fc4077bfc214f17c096eb9e3b5de4c983c;p=gosa.git Fixed php warning for FAI copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10553 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_FAI.inc b/gosa-plugins/fai/admin/fai/class_FAI.inc index b0677537f..bf28aa0a9 100644 --- a/gosa-plugins/fai/admin/fai/class_FAI.inc +++ b/gosa-plugins/fai/admin/fai/class_FAI.inc @@ -299,6 +299,9 @@ class FAI $reload_fai_classes = FALSE; /* check which objects must be saved */ + if(!session::is_set('FAI_objects_to_save')){ + return; + } $FAI_objects_to_save = session::get('FAI_objects_to_save'); if(!is_array($FAI_objects_to_save)) { print_a(array(session::get('FAI_objects_to_save')));