From b3df81fc4077bfc214f17c096eb9e3b5de4c983c Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 18 Apr 2008 08:40:53 +0000 Subject: [PATCH] Fixed php warning for FAI copy & paste git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10553 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_FAI.inc | 3 +++ 1 file changed, 3 insertions(+) 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'))); -- 2.30.2