MDL-37420 rework pg schema (partial backport of 92b00c3)

This commit is contained in:
Eloy Lafuente (stronk7)
2013-01-11 10:34:19 +01:00
parent 72cb5eda5c
commit fa02465c54
+1 -1
View File
@@ -182,7 +182,7 @@ class pgsql_native_moodle_database extends moodle_database {
}
// Select schema if specified, otherwise the first one wins.
if (isset($this->dboptions['dbschema'])) {
if (!empty($this->dboptions['dbschema'])) {
$sql .= "SET search_path = '".$this->dboptions['dbschema']."'; ";
}