summaryrefslogtreecommitdiffstats
path: root/system/drivers/DB_mssql.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/drivers/DB_mssql.php')
-rw-r--r--system/drivers/DB_mssql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/drivers/DB_mssql.php b/system/drivers/DB_mssql.php
index f6e672b94..c84247641 100644
--- a/system/drivers/DB_mssql.php
+++ b/system/drivers/DB_mssql.php
@@ -424,7 +424,7 @@ class CI_DB_mssql_result extends CI_DB_result {
$retval = array();
while ($field = mssql_fetch_field($this->result_id))
{
- $F = new CI_DB_field();
+ $F = new stdClass();
$F->name = $field->name;
$F->type = $field->type;
$F->max_length = $field->max_length;