From cd76f06c9d8240cec15c51f33a2b8b09946c3e53 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Fri, 26 Jun 2020 07:55:33 +0200 Subject: Leave _data unchanged by __read_postprocess as update() needs that and add test for it --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi.class') 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) { -- cgit v1.2.3