diff options
author | Kamil Tekiela <tekiela246@gmail.com> | 2022-08-04 22:59:31 +0300 |
---|---|---|
committer | Kamil Tekiela <tekiela246@gmail.com> | 2022-08-08 16:41:51 +0300 |
commit | 06d58c96622389d86a74e23bd709706857cbc11a (patch) | |
tree | 5b0fc0de3f64552b2fce1256ece16d1c3084d67e /libraries | |
parent | d075fa56a2a26ce104db43a466caee6bc451b70f (diff) |
Fix bug #17663
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/classes/InsertEdit.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libraries/classes/InsertEdit.php b/libraries/classes/InsertEdit.php index 7ea09e576f..33b692777d 100644 --- a/libraries/classes/InsertEdit.php +++ b/libraries/classes/InsertEdit.php @@ -1674,9 +1674,8 @@ class InsertEdit } elseif ( ! (empty($multiEditFuncs[$key]) && isset($multiEditColumnsPrev[$key]) - && (($currentValue === "'" . $this->dbi->escapeString($multiEditColumnsPrev[$key]) . "'") - || ($currentValue === '0x' . $multiEditColumnsPrev[$key]))) - && $currentValue + && $currentValue === $multiEditColumnsPrev[$key]) + && $currentValueAsAnArray !== '' ) { // avoid setting a field to NULL when it's already NULL // (field had the null checkbox before the update |