From 7adcd58f82728e4f02601fa615e02ba977ac6aa0 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 2 Jan 2003 11:09:03 +0000 Subject: [PATCH] Prepend database name to all table names to avoid ADOdb bug when there is multiple database connections at once. --- lib/setup.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/setup.php b/lib/setup.php index 16a3dc8df5..a7b9a1e418 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -26,6 +26,7 @@ if (!isset($CFG->prefix)) { // Just in case it isn't defined in config.php $CFG->prefix = ""; } + $CFG->prefix = "$CFG->dbname.$CFG->prefix"; -- 2.39.5