Fixed bug

This commit is contained in:
git 2025-11-26 15:12:16 +00:00
parent fe31a72a96
commit a5457171da

View File

@ -46,11 +46,11 @@ $onUpdate_phpCode
\$initial_data = json_encode(\$data);
// Execute the dynamically generated function
$error = "";
$retVal = $functionName(\$data, \$error);
\$error = "";
\$retVal = $functionName(\$data, \$error);
// Handle errors
if ($retVal === false || !empty($error)) {
if (\$retVal === false || !empty(\$error)) {
file_put_contents('php://stderr', "Error: $error\n");
exit(1);
}