fixed bug
This commit is contained in:
parent
9a73a64a43
commit
62532b0cb1
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user