diff options
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/it_dbi.class b/it_dbi.class index 6d0cdeb..00d5c99 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -730,8 +730,13 @@ function iterate() unset($this->_data['dyncols']); foreach (static::_read_postprocess($this->_data) as $field => $value) + { $this->$field = (isset($value) && $this->_convertfunc[$field]) ? ($this->_data[$field] = $this->_convertfunc[$field]($value)) : $value; + if (!array_key_exists($field, $this->_data)) # Register fields added by _read_postprocess() so they get clear()ed + $this->_data[$field] = $value; + } + if ($localizedfields) { $lang = T_lang(); |