Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit fa02465c54375d1298c15dacfbdd9c4915ac730e 1 parent 72cb5ed
Eloy Lafuente (stronk7) authored January 10, 2013
2  lib/dml/pgsql_native_moodle_database.php
@@ -182,7 +182,7 @@ public function connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dbop
182 182
         }
183 183
 
184 184
         // Select schema if specified, otherwise the first one wins.
185  
-        if (isset($this->dboptions['dbschema'])) {
  185
+        if (!empty($this->dboptions['dbschema'])) {
186 186
             $sql .= "SET search_path = '".$this->dboptions['dbschema']."'; ";
187 187
         }
188 188
 

0 notes on commit fa02465

Please sign in to comment.
Something went wrong with that request. Please try again.