thingsym/multi-device-switcher — pull request #3 by hykw (2014-08-27 04:07:31+00:00)
Title: added a check if HTTP_USER_AGENT is set

Some client, mainly crawlers, doesn't send User-Agent. I've added isset() for $_SERVER['HTTP_USER_AGENT'] because In those case, Notice error occurs.