We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9eec206 + 6c5140c commit 5234e6eCopy full SHA for 5234e6e
1 file changed
src/Utils/ParentData.php
@@ -81,7 +81,7 @@ public static function getPerson($conn, $individuals, $obje_ids = [], $sour_ids
81
// added to database
82
// string value
83
$sex = preg_replace('/[^MF]/', '', (string) $individual->getSex());
84
- $uid = $individual->getUid() ?? strtoupper(str_replace('-', '', (string) Str::uuid()));
+ $uid = $individual->getUid() ?: strtoupper(str_replace('-', '', (string) Str::uuid()));
85
$resn = $individual->getResn();
86
$rin = $individual->getRin();
87
$rfn = $individual->getRfn();
0 commit comments