summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorChristian Schneider2020-06-26 07:55:33 +0200
committerChristian Schneider2020-06-26 07:55:33 +0200
commitcd76f06c9d8240cec15c51f33a2b8b09946c3e53 (patch)
treed5f63fd51d1e6cc0a7885afd790a4d52e8dfe1f2 /it_dbi.class
parent5555b40c2a126cecc1d85d992c6862e53fee1c60 (diff)
downloaditools-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.class2
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)
{