diff options
| author | Christian Schneider | 2025-10-22 14:33:39 +0200 |
|---|---|---|
| committer | Christian Schneider | 2025-10-22 14:33:39 +0200 |
| commit | d110521779d52e765248e6c287f6d32f65939ecb (patch) | |
| tree | 7f25267cc84dce9f499dd439aeeede91e7c197df /it_dbi.class | |
| parent | 37d796854b6ec34acdd0a25ecfb0263eb8ac25df (diff) | |
| download | itools-d110521779d52e765248e6c287f6d32f65939ecb.tar.gz itools-d110521779d52e765248e6c287f6d32f65939ecb.tar.bz2 itools-d110521779d52e765248e6c287f6d32f65939ecb.zip | |
Fix completely removing dyncol column when a where-clause is given to update()
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 0c20095..a3d2c31 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -287,7 +287,7 @@ function _expressions($tags, $force = false) if ($alldyns) { - if ($force == "insert") # INSERT/REPLACE + if (strval($force) == "insert") # INSERT/REPLACE $result['dyncols'] = $this->_json_object($alldyns); else if ($newdyns || $deldyns) { |