summaryrefslogtreecommitdiff
path: root/includes/database
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database')
-rw-r--r--includes/database/database.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 0f64dfb61..31d98b4b3 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -1005,7 +1005,7 @@ abstract class Database {
// We need to pass around the simpletest database prefix in the request
// and we put that in the user_agent header.
if (preg_match("/^simpletest\d+$/", $_SERVER['HTTP_USER_AGENT'])) {
- $db_prefix = $_SERVER['HTTP_USER_AGENT'];
+ $db_prefix .= $_SERVER['HTTP_USER_AGENT'];
}
// Return the target that was actually opened in case the requested one