Passed
Pull Request — 1.7 (#4191)
by
unknown
06:26
created
app/Filter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
             );
264 264
 
265 265
             if (is_array($tmp)) {
266
-              return $tmp[$variable] ?: array();
266
+                return $tmp[$variable] ?: array();
267 267
             }
268 268
         }
269 269
     }
Please login to merge, or discard this patch.
app/Controller/IndividualController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
                             $surname = Filter::escapeHtml($primary_name['surname']);
198 198
                             if (strpos($primary_name['surname'], str_replace(',', ' ', $nmatch[$i][2])) !== false) {
199 199
                                 //echo '<span dir="auto">' . $surname . '</span>';
200
-                                echo '<span dir="auto"><a href="/branches.php?surname='.str_replace(' ','+',$surname).'">'.$surname.'</a></span>';
200
+                                echo '<span dir="auto"><a href="/branches.php?surname=' . str_replace(' ', '+', $surname) . '">' . $surname . '</a></span>';
201 201
                             } else {
202 202
                                 echo I18N::translate('%1$s (%2$s)', '<span dir="auto">' . $surname . '</span>', '<span dir="auto">' . $name . '</span>');
203 203
                             }
Please login to merge, or discard this patch.
app/Individual.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1156,7 +1156,7 @@
 block discarded – undo
1156 1156
 
1157 1157
         $sublevel = 1;
1158 1158
         if ($gedcom) {
1159
-          $sublevel += (int) $gedcom[0];
1159
+            $sublevel += (int) $gedcom[0];
1160 1160
         }
1161 1161
         $NPFX     = preg_match("/\n{$sublevel} NPFX (.+)/", $gedcom, $match) ? $match[1] : '';
1162 1162
         $GIVN     = preg_match("/\n{$sublevel} GIVN (.+)/", $gedcom, $match) ? $match[1] : '';
Please login to merge, or discard this patch.