diff options
author | Christian Schneider | 2020-06-26 07:55:33 +0200 |
---|---|---|
committer | Christian Schneider | 2020-06-26 07:55:33 +0200 |
commit | cd76f06c9d8240cec15c51f33a2b8b09946c3e53 (patch) | |
tree | d5f63fd51d1e6cc0a7885afd790a4d52e8dfe1f2 /it_dbi.class | |
parent | 5555b40c2a126cecc1d85d992c6862e53fee1c60 (diff) | |
download | itools-cd76f06c9d8240cec15c51f33a2b8b09946c3e53.tar.gz itools-cd76f06c9d8240cec15c51f33a2b8b09946c3e53.tar.bz2 itools-cd76f06c9d8240cec15c51f33a2b8b09946c3e53.zip |
Leave _data unchanged by __read_postprocess as update() needs that and add test for it
Diffstat (limited to 'it_dbi.class')
-rw-r--r-- | it_dbi.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class index ceb5241..6d0cdeb 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -730,7 +730,7 @@ function iterate() unset($this->_data['dyncols']); foreach (static::_read_postprocess($this->_data) as $field => $value) - $this->$field = $this->_data[$field] = (isset($value) && $this->_convertfunc[$field]) ? $this->_convertfunc[$field]($value) : $value; + $this->$field = (isset($value) && $this->_convertfunc[$field]) ? ($this->_data[$field] = $this->_convertfunc[$field]($value)) : $value; if ($localizedfields) { |