From 62532b0cb1be1fa88c2a130fee70425835a9e9d5 Mon Sep 17 00:00:00 2001 From: git Date: Thu, 19 Jun 2025 14:21:29 +0100 Subject: [PATCH] fixed bug --- plt/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/plt/index.php b/plt/index.php index c957be8..e854153 100755 --- a/plt/index.php +++ b/plt/index.php @@ -161,6 +161,7 @@ function runPythonCodeTrigger($functionName, $activeTable, $row) { */ function updateDatabaseRow($tableName, $originalRow, $newRowValue) { + if (empty($originalRow) || empty($newRowValue)) return; $pkColsName = getTblPrimaryKeyColName($tableName); $pkColsValues = array_map(fn($cName) => $originalRow[$cName], $pkColsName);