From 4901bf92a13cff9f85a922c208a0390454bd2af4 Mon Sep 17 00:00:00 2001 From: webchick Date: Sun, 11 Mar 2012 11:36:23 -0700 Subject: Issue #1411114 by Albert Volkman, sun: Fixed drupal_valid_test_ua() is not statically cached on non-positive match. --- includes/bootstrap.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index c8280374a..5556f38cc 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -2438,7 +2438,8 @@ function drupal_valid_test_ua() { } } - return FALSE; + $test_prefix = FALSE; + return $test_prefix; } /** -- cgit v1.2.3