index e4e7314ff440b78b0bb53dc696112c57144c6ba8..7b2b6170fa0212b9197fd43fe74fec490882308b 100644 (file)
}
}
}
-
- $_SESSION['FAI_objects_to_save'][$Current_DN] = $addObj;
+ $FAI_objects_to_save = session::get('FAI_objects_to_save') ;
+ $FAI_objects_to_save[$Current_DN] = $addObj;
+ session::set('FAI_objects_to_save',$FAI_objects_to_save);
}
save_FAI_object($parent_obj,$objectAttrs);
if(($parent_obj != $Current_DN)){
- print_red(sprintf(_("Error, following objects should be equal '%s' and '%s'"),$parent_obj,$Current_DN));
+ msg_dialog::display(_("Error"), sprintf(_("Error, following objects should be equal '%s' and '%s'"),$parent_obj,$Current_DN), ERROR_DIALOG);
}
}
}