From 748299194c57d646ef5411ec385cdef0939fb332 Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Sun, 18 Jan 2015 16:55:00 +0000 Subject: Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- library/WT/Controller/GedcomRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/WT/Controller/GedcomRecord.php') 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); -- cgit v1.3