summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--classes/Reports.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 802b837e..df32d06a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -11,6 +11,7 @@ Bugs
* Fix reindex of mixed case indexes
* Show domains in type lists in appropriate places
* Fix for multiline CDATA parsing in XML import
+* Fix missing _schema notice in reports
Translations
* Japanese from Tadashi
diff --git a/classes/Reports.php b/classes/Reports.php
index a2424c4f..a09e7ac4 100644
--- a/classes/Reports.php
+++ b/classes/Reports.php
@@ -4,7 +4,7 @@
* the functions provided by the database driver exclusively, and hence
* will work with any database without modification.
*
- * $Id: Reports.php,v 1.10 2003/12/15 08:30:54 chriskl Exp $
+ * $Id: Reports.php,v 1.10.4.1 2004/07/01 07:16:56 chriskl Exp $
*/
class Reports {
@@ -23,6 +23,8 @@
else {
// Create a new database access object.
$this->driver = &$misc->getDatabaseAccessor($this->reports_db);
+ // Reports database should have been created in public schema
+ if ($this->driver->hasSchemas()) $this->driver->setSchema('public');
$status = 0;
}
}