Database [Class]: Update for PHP 8.1
This commit is contained in:
@@ -1686,7 +1686,7 @@
|
|||||||
$checked = true;
|
$checked = true;
|
||||||
|
|
||||||
//copy the child data
|
//copy the child data
|
||||||
if (is_uuid($row[$parent_key_name])) {
|
if (!empty($row[$parent_key_name]) && is_uuid($row[$parent_key_name])) {
|
||||||
$copy_array[$parent_name][$x][$parent_key_name] = $row[$parent_key_name];
|
$copy_array[$parent_name][$x][$parent_key_name] = $row[$parent_key_name];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user