diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiAttachmentPool.inc b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiAttachmentPool.inc
index 9d5570f2b5bdf71c183235a85403c963de2f5b24..489ea8b4c9d9ac7a402435d751d212617f54f9d9 100644 (file)
$chkbox = "<input type='hidden' name='wasOnPage_%s'>".
"<input type='checkbox' name='useMe_%s' value='%s' %CHECKED%>";
- if(in_array($entry['ID'],$this->Selected)){
+ if(in_array_strict($entry['ID'],$this->Selected)){
$chkbox = preg_replace("/%CHECKED%/"," checked ",$chkbox);
}else {
$chkbox = preg_replace("/%CHECKED%/"," ",$chkbox);