Skip to content

Commit 5234e6e

Browse files
Merge pull request #90 from liberu-group/patch-4
Update ParentData.php
2 parents 9eec206 + 6c5140c commit 5234e6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Utils/ParentData.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public static function getPerson($conn, $individuals, $obje_ids = [], $sour_ids
8181
// added to database
8282
// string value
8383
$sex = preg_replace('/[^MF]/', '', (string) $individual->getSex());
84-
$uid = $individual->getUid() ?? strtoupper(str_replace('-', '', (string) Str::uuid()));
84+
$uid = $individual->getUid() ?: strtoupper(str_replace('-', '', (string) Str::uuid()));
8585
$resn = $individual->getResn();
8686
$rin = $individual->getRin();
8787
$rfn = $individual->getRfn();

0 commit comments

Comments
 (0)