summaryrefslogtreecommitdiff
path: root/library/WT/Controller/GedcomRecord.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Controller/GedcomRecord.php')
-rw-r--r--library/WT/Controller/GedcomRecord.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/GedcomRecord.php b/library/WT/Controller/GedcomRecord.php
index b39d277a13..01be351a73 100644
--- a/library/WT/Controller/GedcomRecord.php
+++ b/library/WT/Controller/GedcomRecord.php
@@ -28,7 +28,7 @@ class WT_Controller_GedcomRecord extends WT_Controller_Page {
public function __construct() {
// Automatically fix broken links
if ($this->record && $this->record->canEdit()) {
- $broken_links=0;
+ $broken_links = 0;
foreach ($this->record->getFacts('HUSB|WIFE|CHIL|FAMS|FAMC|REPO') as $fact) {
if (!$fact->isPendingDeletion() && $fact->getTarget() === null) {
$this->record->deleteFact($fact->getFactId(), false);