In some cases, a request may not have an HTTP_USER_AGENT. This should check the variable exists before attempting to check it. The specific case where it failed for me was Active Directory Federation Services sending a web request to a SilverStripe site, but failing because it doesn't have an agent string.
…sts for the current user Fixes #3660
…3.1' FIX SS-2015-010 See merge request !2
…lects Fix PHPDoc on SQLQuery::addFrom and SQLQuery::setFrom Fixes #3965
…_AUTHORIZATION'] for HTTP Basic authentication headers