Completed
Push — openstreetmap ( a322d5...dd3a88 )
by Greg
17:13 queued 08:45
created
app/I18N.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -322,8 +322,8 @@
 block discarded – undo
322 322
 				$default_locale = new LocaleEnUs;
323 323
 				try {
324 324
 					// @TODO, when no language is requested by the user (e.g. search engines), we should use
325
-	        // the tree's default language.  However, we currently initialise languages before trees,
326
-	        //  so there is no tree available for us to use.
325
+					// the tree's default language.  However, we currently initialise languages before trees,
326
+					//  so there is no tree available for us to use.
327 327
 				} catch (\Exception $ex) {
328 328
 					DebugBar::addThrowable($ex);
329 329
 				}
Please login to merge, or discard this patch.
resources/views/edit/edit-fact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 						'level'          => 2,
40 40
 						'full_citations' => $tree->getPreference('FULL_SOURCES'),
41 41
 						'tree'           => $tree,
42
-					]);				}
42
+					]); }
43 43
 				if ($level1type !== 'OBJE') {
44 44
 					if ($tree->getPreference('MEDIA_UPLOAD') >= Auth::accessLevel($tree)) {
45 45
 						echo view('cards/add-media-object', [
Please login to merge, or discard this patch.
app/Functions/FunctionsPrintFacts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -763,7 +763,7 @@
 block discarded – undo
763 763
 						// Inline sources can't be edited. Attempting to save one will convert it
764 764
 						// into a link, and delete it.
765 765
 						// e.g. "1 SOUR my source" becomes "1 SOUR @my source@" which does not exist.
766
-						echo FontAwesome::linkIcon('edit', I18N::translate('Edit'), ['class' => 'btn btn-link', 'href' => route('edit-fact', ['xref' => $parent->getXref(),  'fact_id' => $fact->getFactId(), 'ged' => $tree->getName()])]);
766
+						echo FontAwesome::linkIcon('edit', I18N::translate('Edit'), ['class' => 'btn btn-link', 'href' => route('edit-fact', ['xref' => $parent->getXref(), 'fact_id' => $fact->getFactId(), 'ged' => $tree->getName()])]);
767 767
 						echo FontAwesome::linkIcon('copy', I18N::translate('Copy'), ['class' => 'btn btn-link', 'href' => '#', 'onclick' => 'return copy_fact("' . e($tree->getName()) . '", "' . e($parent->getXref()) . '", "' . $fact->getFactId() . '");']);
768 768
 					}
769 769
 					echo FontAwesome::linkIcon('delete', I18N::translate('Delete'), ['class' => 'btn btn-link', 'href' => '#', 'onclick' => 'return delete_fact("' . I18N::translate('Are you sure you want to delete this fact?') . '", "' . e($tree->getName()) . '", "' . e($parent->getXref()) . '", "' . $fact->getFactId() . '");']);
Please login to merge, or discard this patch.
app/Http/Controllers/AbstractEditController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 			// The sub-records should be deleted.
184 184
 			if ($this->tag[$j] === 'SOUR' && ($this->text[$j] === '@@' || $this->text[$j] === '')) {
185 185
 				$this->text[$j] = '';
186
-				$k        = $j + 1;
186
+				$k = $j + 1;
187 187
 				while (($k < count($this->glevels)) && ($this->glevels[$k] > $this->glevels[$j])) {
188 188
 					$this->text[$k] = '';
189 189
 					$k++;
Please login to merge, or discard this patch.