summaryrefslogtreecommitdiff
path: root/library/WT/Controller/GedcomRecord.php
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-18 16:55:00 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-18 16:55:00 +0000
commit748299194c57d646ef5411ec385cdef0939fb332 (patch)
treea8a6f460c3194caa860e3163ac4cce1855a39c37 /library/WT/Controller/GedcomRecord.php
parentade68fcc64b5096e3ea5eaa750ae5cd2f3f53482 (diff)
downloadwebtrees-748299194c57d646ef5411ec385cdef0939fb332.tar.gz
webtrees-748299194c57d646ef5411ec385cdef0939fb332.tar.bz2
webtrees-748299194c57d646ef5411ec385cdef0939fb332.zip
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
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);