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 6b81448 + 4d9c52d commit 43321afCopy full SHA for 43321af
1 file changed
src/Utils/GedcomGenerator.php
@@ -435,7 +435,7 @@ protected function setFam($family_id)
435
$fam->addNote($note);
436
}
437
438
- $_sour = Source::all();
+ $_sour = app(Source::class)->query()->get();
439
foreach ($_sour as $item) {
440
$sour = new SourRef();
441
$sour->setSour($item->sour);
@@ -463,7 +463,7 @@ protected function setSubM()
463
protected function setSour()
464
{
465
$sour = new \Gedcom\Record\Sour();
466
467
468
$sour->setTitl($item->titl);
469
0 commit comments