diff --git a/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiPrinterAccount.inc b/gosa-plugins/glpi/admin/systems/services/glpi/class_glpiPrinterAccount.inc
index 5e2779ace36bbd9c78aa7b653d7d45fd982482ca..42b208efff970f7dcf28cb17198df504f34e4d14 100644 (file)
$id = base64_decode($_GET['id']);
/* Check if user is already created in glpi database */
- if(!in_array($id,$users)){
+ if(!in_array_strict($id,$users)){
/* If this user doesn't exists in glpi db, we must create him */
$ldap->cat($id, array('cn', 'mail', 'telephoneNumber'));
$atts =$this->handle->getAttachments();
$ret = array();
foreach($atts as $entry){
- if(in_array($entry['ID'],$this->usedAttachments)){
+ if(in_array_strict($entry['ID'],$this->usedAttachments)){
if($divlist){
$ret[$entry['ID']] = $entry;
}else{