diff --git a/plugins/admin/systems/class_glpiAttachmentPool.inc b/plugins/admin/systems/class_glpiAttachmentPool.inc
index 0b04e02f6b700c256436f6c11e34e79e10282e96..b500660298b80ad14dd2502dd6a4c055b6624e63 100644 (file)
var $delAttach= "";
- function glpiAttachmentPool ($config, $dn= NULL,$used=NULL)
+ function glpiAttachmentPool (&$config, $dn= NULL,$used=NULL)
{
plugin::plugin ($config, $dn);
if(!isset($_SESSION['GlpiAttachmentFilter'])){
}
/* Assign used attributes */
- if($used != NULL){
+ if($used !== NULL){
$this->Selected = $used;
}
}
/* Create list with checkboxes to select / deselect some attachents */
$divlist = new divlist("Attachment");
+ $divlist->SetPluginMode();
$divlist->SetHeader(array(
array("string" => " ", "attach" => "style='text-align:center;width:20px;'"),
array("string" => _("Name")),