From: skodak Date: Tue, 25 Nov 2008 22:49:46 +0000 (+0000) Subject: MDL-14679 DML: fixed $rs typos X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b0a196ed692c905bee667a6d64f2fe6ff9e7abb0;p=moodle.git MDL-14679 DML: fixed $rs typos --- diff --git a/lib/dml/oci8po_adodb_moodle_database.php b/lib/dml/oci8po_adodb_moodle_database.php index c641a928e9..c25e501d10 100644 --- a/lib/dml/oci8po_adodb_moodle_database.php +++ b/lib/dml/oci8po_adodb_moodle_database.php @@ -57,8 +57,8 @@ class oci8po_adodb_moodle_database extends adodb_moodle_database { /// DB using DOTS. Manually introduced floats (if using other characters) must be /// converted back to DOTs (like gradebook does) $sql = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='.,'"; - $rs = $this->query_start($sql, null, SQL_QUERY_AUX); - $this->adodb->Execute($sql); + $this->query_start($sql, null, SQL_QUERY_AUX); + $rs = $this->adodb->Execute($sql); $this->query_end($rs); return true; @@ -111,8 +111,8 @@ class oci8po_adodb_moodle_database extends adodb_moodle_database { */ function setup_is_unicodedb() { $sql = "SELECT parameter, value FROM nls_database_parameters where parameter = 'NLS_CHARACTERSET'"; - $rs = $this->query_start($sql, null, SQL_QUERY_AUX); - $this->adodb->Execute($sql); + $this->query_start($sql, null, SQL_QUERY_AUX); + $rs = $this->adodb->Execute($sql); $this->query_end($rs); if ($rs && !$rs->EOF) {