template.php is assuming that $_SERVER['HTTP_USER_AGENT'] is set. That is not a safe assumption. It can result in notices.

This patch replaces the preg_match() calls with calls to zeropoint_browser_is_ie() which is defined the same as what it's replacing plus an empty() check.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jacob.embree created an issue. See original summary.

Florian’s picture

Status: Needs review » Closed (works as designed)