diff options
author | Urban Müller | 2016-11-22 23:09:28 +0100 |
---|---|---|
committer | Urban Müller | 2016-11-22 23:09:28 +0100 |
commit | 9a0caaf22c5125ea302846896f5061b87b94ac04 (patch) | |
tree | dfd7ea873bae3ee5b90b7632d8403b5af1f07b15 | |
parent | 252fe6507c38184cf595d5cf150b6e1d8e8acb51 (diff) | |
download | itools-9a0caaf22c5125ea302846896f5061b87b94ac04.tar.gz itools-9a0caaf22c5125ea302846896f5061b87b94ac04.tar.bz2 itools-9a0caaf22c5125ea302846896f5061b87b94ac04.zip |
suppress both dyncols and _dyncols from _data; not real values
-rw-r--r-- | it_dbi.class | 1 |
1 files changed, 1 insertions, 0 deletions
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; |