From d110521779d52e765248e6c287f6d32f65939ecb Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 22 Oct 2025 14:33:39 +0200 Subject: Fix completely removing dyncol column when a where-clause is given to update() --- 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 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) { -- cgit v1.2.3