Well this one was weird, apperently there was a error, when coping over the new code.
if (preg_match('/HP eStation/u', $ua)) {
$this->data->device->manufacturer = 'HP';
$this->data->device->model = 'eStation';
$this->data->device->type = Constants\DeviceType::PRINTER;
$this->data->device->identified |= Constants\Id::MATCH_UA;
$this->data->device->generic = false;
}
}
This is the snippet as it should have been, but the one i got was riddled with non-printable symbols. The problem was very clearly only in this one position.