summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_dbi.class4
1 files changed, 4 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class
index 3ec2978..fbe9690 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -791,10 +791,14 @@ function _get_field_info()
$state = it_dbi::_state_get($dbid); # State could have been modified by query above
$state['fields'][$this->_p['table']] = $this->_fields;
$state['convertfunc'][$this->_p['table']] = $this->_convertfunc;
+ $state['localizedfields'][$this->_p['table']] = $this->_localizedfields;
it_dbi::_state_put($dbid, $state);
}
else # Existing _fields, copy other info too
+ {
$this->_convertfunc = $state['convertfunc'][$this->_p['table']];
+ $this->_localizedfields = $state['localizedfields'][$this->_p['table']];
+ }
foreach((array)$this->_fields as $field)
{