summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 71e32c8..ed326b9 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -608,7 +608,6 @@ function _get_field_info()
$this->_fields[$field['Field']] = $field + array('Length' => intval(it::match('\d+', $field['Type'])));
$GLOBALS['it_dbi']->_state[$this->_p['dbid']]['fields'][$this->_p['table']] = $this->_fields;
- unset($GLOBALS['it_dbi']->_p['table']); # Remove cruft
}
foreach($this->_fields as $field)
@@ -621,6 +620,7 @@ function _get_field_info()
}
}
+ unset($GLOBALS['it_dbi']->_p['table'], $GLOBALS['it_dbi']->_p['keyfield']); # Remove cruft
return $result;
}