Fix some mail actions e.g. "view as source" or "Html" no longer working

This commit is contained in:
Hadi Nategh 2022-04-11 12:43:18 +02:00
parent abba483377
commit 8175a592d5

View File

@ -32,11 +32,11 @@ class UserAgent
/**
* Version of user-agent as specified by browser
*
* @return string
* @return integer
*/
public static function version()
{
return self::$ua_version;
return (int)self::$ua_version;
}
/**