matomo-org / plugin-DeviceDetectorCache

Makes tracking in Matomo Analytics faster by detecting many devices, operating systems, bots, and browsers from a cache.
https://matomo.org
GNU General Public License v3.0
3 stars 7 forks source link

Fixes Uncaught TypeError on getDevice due to default being empty #66

Closed AltamashShaikh closed 10 months ago

AltamashShaikh commented 10 months ago

Description:

Fixes Uncaught TypeError on getDevice due to default being empty Fixes: https://github.com/matomo-org/matomo/issues/21572

Review

snake14 commented 10 months ago

@AltamashShaikh It looks like the test case that I added needs to be updated corresponding to your change.

AltamashShaikh commented 10 months ago

@AltamashShaikh It looks like the test case that I added needs to be updated corresponding to your change.

@snake14 Yes, updated and added 1 more new case