Database Bulk Insert returns NULL in PHP

OS info

  • Operating System : Windows 10.0.22631
  • Wappler Version : 6.7.0

Problem description

In \dmxConnectLib\modules\dbupdater.php line 473, $record is an array, yet it is being evaluated as an object thus always returning NULL.

original:
$value = isset($record->{$param->value}) ? $record->{$param->value} : NULL;

change to:
$value = isset($record[$param->value]) ? $record[$param->value] : NULL;

Fixed in Wappler 6.7.1

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.