From 9a0caaf22c5125ea302846896f5061b87b94ac04 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Tue, 22 Nov 2016 23:09:28 +0100 Subject: suppress both dyncols and _dyncols from _data; not real values --- it_dbi.class | 1 + 1 file changed, 1 insertion(+) diff --git a/it_dbi.class b/it_dbi.class index 621b59e..4e20359 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -637,6 +637,7 @@ function iterate() foreach (($t = $this->_data['_dyncols']) ? (array)json_decode($t) : [] as $field => $value) $this->_data[$field] = $value; + unset($this->_data['_dyncols'], $this->_data['dyncols']); foreach ($this->_data as $field => $value) $this->$field = (isset($value) && $this->_convertfunc[$field]) ? ($this->_data[$field] = $this->_convertfunc[$field]($value)) : $value; -- cgit v1.2.3