diff --git a/DeviceDetector.php b/DeviceDetector.php index dd717c8f92..0e9ddf74bc 100644 --- a/DeviceDetector.php +++ b/DeviceDetector.php @@ -92,7 +92,7 @@ class DeviceDetector * Holds the useragent that should be parsed * @var string */ - protected $userAgent; + protected $userAgent = ''; /** * Holds the operating system data after parsing the UA