summaryrefslogtreecommitdiff
path: root/includes/database
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-11-01 21:21:35 +0000
committerDries Buytaert <dries@buytaert.net>2008-11-01 21:21:35 +0000
commitfa94c66c92eaec0a636fa4f92b8496f7c38fc54a (patch)
treee4256186f9897e9b062cf7bb9d5bd84170182bb8 /includes/database
parent424250196a65b48919de50b2a3327f67c076e0d3 (diff)
downloadbrdo-fa94c66c92eaec0a636fa4f92b8496f7c38fc54a.tar.gz
brdo-fa94c66c92eaec0a636fa4f92b8496f7c38fc54a.tar.bz2
- Patch #328719 by c960657: make the module list tests succeed again.
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