From ce0d9e5b4cab2c517259b171061627e3fd72f0b5 Mon Sep 17 00:00:00 2001 From: ucorina Date: Thu, 22 Mar 2012 14:48:47 +0000 Subject: [PATCH] Issue 1745: "document.getDocumentList" error on MSSQL git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10460 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- classes/db/DBMssql.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/db/DBMssql.class.php b/classes/db/DBMssql.class.php index 6b044a36d..43b467306 100644 --- a/classes/db/DBMssql.class.php +++ b/classes/db/DBMssql.class.php @@ -525,6 +525,7 @@ } $count_query .= (__DEBUG_QUERY__&1 && $output->query_id)?sprintf (' '.$this->comment_syntax, $this->query_id):''; + $this->param = $queryObject->getArguments(); $result_count = $this->_query($count_query, $connection); $count_output = $this->_fetch($result_count); $total_count = (int)$count_output->count; @@ -555,6 +556,7 @@ $start_count = ($page - 1) * $list_count; $query .= (__DEBUG_QUERY__&1 && $queryObject->query_id)?sprintf (' '.$this->comment_syntax, $this->query_id):''; + $this->param = $queryObject->getArguments(); $result = $this->_query ($query, $connection); if ($this->isError ()) return $this->queryError($queryObject);