idiorm icon indicating copy to clipboard operation
idiorm copied to clipboard

PHP Warning fix

Open xWildFire opened this issue 2 years ago • 0 comments

Invalid argument supplied for foreach() in /XXX/vendor/j4mie/idiorm/idiorm.php : 2104
foreach() argument must be of type array\|object, bool given in /XXX/vendor/j4mie/idiorm/idiorm.php : 2104

When a table has a insert before trigger then $row is equal to false and produces this warnings, thats a postgresql problem so i think that catch is all we can do here.

xWildFire avatar Apr 17 '23 13:04 xWildFire