Completed
Push — master ( cc9c6b...2841c8 )
by cam
01:28
created
ecrire/src/Afficher/Minipage/Admin.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -115,11 +115,9 @@  discard block
 block discarded – undo
115 115
 
116 116
 			if ($statut and test_espace_prive()) {
117 117
 				$footer = bouton_action(_T('public:accueil_site'), generer_url_ecrire('accueil'));
118
-			}
119
-			elseif (!empty($_COOKIE['spip_admin'])) {
118
+			} elseif (!empty($_COOKIE['spip_admin'])) {
120 119
 				$footer = bouton_action(_T('public:lien_connecter'), generer_url_public('login'));
121
-			}
122
-			else {
120
+			} else {
123 121
 				$footer = bouton_action(_T('public:accueil_site'), $GLOBALS['meta']['adresse_site'] ?? '');
124 122
 			}
125 123
 
@@ -131,12 +129,10 @@  discard block
 block discarded – undo
131 129
 					. $titre
132 130
 					. "</div>";
133 131
 				$options['titre'] = '';
134
-			}
135
-			else {
132
+			} else {
136 133
 				$options['titre'] = $titre;
137 134
 			}
138
-		}
139
-		else {
135
+		} else {
140 136
 			$options['titre'] = $titre;
141 137
 		}
142 138
 		$options['page_title'] = $titre;
Please login to merge, or discard this patch.
ecrire/inc/exporter_csv.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -182,8 +182,7 @@
 block discarded – undo
182 182
 	// sinon on ecrit directement sur stdout
183 183
 	if ($options['envoyer'] and $options['envoyer'] !== 'attachment') {
184 184
 		$fichier = 'php://output';
185
-	}
186
-	else {
185
+	} else {
187 186
 		$fichier = sous_repertoire(_DIR_CACHE, 'export') . $basename;
188 187
 	}
189 188
 
Please login to merge, or discard this patch.