Permalink
Browse files

Prepend database name to all table names to avoid ADOdb bug when there

is multiple database connections at once.
  • Loading branch information...
1 parent 24cd454 commit 7adcd58f82728e4f02601fa615e02ba977ac6aa0 moodler committed Jan 2, 2003
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/setup.php
View
1 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";

0 comments on commit 7adcd58

Please sign in to comment.