Completed
Pull Request — master (#926)
by Mark
21:38 queued 09:30
created
app/Database.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@
 block discarded – undo
85 85
 		// Create the underlying PDO object
86 86
 		self::$pdo = new PDO(
87 87
 			(substr($DBHOST, 0, 1) === '/' ?
88
-				"mysql:unix_socket={$DBHOST};dbname={$DBNAME}" :
89
-				"mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}"
88
+				"mysql:unix_socket={$DBHOST};dbname={$DBNAME}" : "mysql:host={$DBHOST};dbname={$DBNAME};port={$DBPORT}"
90 89
 			),
91 90
 			$DBUSER, $DBPASS,
92 91
 			array(
Please login to merge, or discard this patch.
app/Controller/RelationshipController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
 			while (list(, $next) = each($queue)) {
64 64
 				// For each family on the path
65 65
 				for ($n = count($next['path']) - 2; $n >= 1; $n -= 2) {
66
-					$exclude   = $next['exclude'];
66
+					$exclude = $next['exclude'];
67 67
 					if (count($exclude) >= $recursion) {
68 68
 						continue;
69 69
 					}
Please login to merge, or discard this patch.
app/Module/GoogleMapsModule.php 1 patch
Switch Indentation   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -2035,18 +2035,18 @@
 block discarded – undo
2035 2035
 								'tooltip'      => $birth->getPlace()->getGedcomName(),
2036 2036
 							);
2037 2037
 \							switch ($child->getSex()) {
2038
-							case'F':
2039
-								$gmark['fact_label'] = I18N::translate('daughter');
2040
-								$gmark['class']      = 'person_boxF';
2041
-								break;
2042
-							case 'M':
2043
-								$gmark['fact_label'] = I18N::translate('son');
2044
-								$gmark['class']      = 'person_box';
2045
-								break;
2046
-							default:
2047
-								$gmark['fact_label'] = I18N::translate('child');
2048
-								$gmark['class']      = 'person_boxNN';
2049
-								break;
2038
+case'F':
2039
+	$gmark['fact_label'] = I18N::translate('daughter');
2040
+	$gmark['class']      = 'person_boxF';
2041
+	break;
2042
+case 'M':
2043
+	$gmark['fact_label'] = I18N::translate('son');
2044
+	$gmark['class']      = 'person_box';
2045
+	break;
2046
+default:
2047
+	$gmark['fact_label'] = I18N::translate('child');
2048
+	$gmark['class']      = 'person_boxNN';
2049
+	break;
2050 2050
 							}
2051 2051
 							$gmarks[] = $gmark;
2052 2052
 						} else {
Please login to merge, or discard this patch.