summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2012-03-11 11:36:23 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2012-03-11 11:36:23 -0700
commit4901bf92a13cff9f85a922c208a0390454bd2af4 (patch)
tree1b9956103c3b1a52bacbd7c97a5005ace07d01cc /includes
parentde30adeb093789e232cadbb23be000790402ee8d (diff)
downloadbrdo-4901bf92a13cff9f85a922c208a0390454bd2af4.tar.gz
brdo-4901bf92a13cff9f85a922c208a0390454bd2af4.tar.bz2
Issue #1411114 by Albert Volkman, sun: Fixed drupal_valid_test_ua() is not statically cached on non-positive match.
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc3
1 files changed, 2 insertions, 1 deletions
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;
}
/**