sqlsrv_query fixed

This commit is contained in:
Geoff Munn 2009-04-06 03:16:35 +00:00
parent 1aecbddb6e
commit 25293f7f35

View File

@ -172,7 +172,10 @@ class MSSQLDatabase extends Database {
$funcName=$this->funcPrefix . '_query'; $funcName=$this->funcPrefix . '_query';
if($this->funcPrefix=='mssql')
$handle = $funcName($sql, $this->dbConn); $handle = $funcName($sql, $this->dbConn);
else
$handle = $funcName($this->dbConn, $sql);
if(isset($_REQUEST['showqueries'])) { if(isset($_REQUEST['showqueries'])) {
$endtime = round(microtime(true) - $starttime,4); $endtime = round(microtime(true) - $starttime,4);