X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=trunk%2Fgosa-plugins%2Fgoto%2Fadmin%2Fdevices%2Fclass_deviceGeneric.inc;h=b8b91e2ccc2f94b2d0f734980dd1bcd9addaaf8b;hb=3f718b58eef11c385646cf6eab02899ed68a17e0;hp=00d63d0be6b084e48148f3002aed6cd8ff95dc57;hpb=022668acbab76da7ebcb7ffc0cd563a13c422ae4;p=gosa.git diff --git a/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc b/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc index 00d63d0be..b8b91e2cc 100644 --- a/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc +++ b/trunk/gosa-plugins/goto/admin/devices/class_deviceGeneric.inc @@ -105,7 +105,10 @@ class deviceGeneric extends plugin if(empty($this->vendor) || !$this->is_2byteHex($this->vendor)){ $message[]= msgPool::invalid(_("Vendor ID"),"","","0x1234"); } - + /* Convert vendorId and productId to lower case */ + $this->serial = strtolower($this->serial); + $this->vendor = strtolower($this->vendor); + /* Check if entry already exists */ if($this->cn != $this->orig_cn || $this->dn == "new"){ $ldap = $this->config->get_ldap_link();