Fixed swapped params.

This commit is contained in:
mdean 2001-09-17 00:40:59 +00:00
parent 8994de9d73
commit d169912713

View File

@ -157,7 +157,7 @@ class db
for (var $i = 0; $i < count($rec); $i++) for (var $i = 0; $i < count($rec); $i++)
{ {
$this->Record[$i] = $rec[$i]; $this->Record[$i] = $rec[$i];
$o = mssql_fetch_field($i, $this->Query_ID); $o = mssql_fetch_field($this->Query_ID, $i);
$this->Record[$o->name] = $rec[$i]; $this->Record[$o->name] = $rec[$i];
} }
} }