Completed
Push — master ( dc31ed...4191b0 )
by cam
01:33
created
prive/formulaires/mot_de_passe.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,8 +169,7 @@
 block discarded – undo
169 169
 			$auth = auth_identifier_login($row['login'], $oubli);
170 170
 			if (!is_array($auth)) {
171 171
 				spip_log("Erreur identification ".$row['login']." après changement de mot de passe: $auth", _LOG_ERREUR);
172
-			}
173
-			elseif ($auth['id_auteur'] == $id_auteur) {
172
+			} elseif ($auth['id_auteur'] == $id_auteur) {
174 173
 				auth_loger($auth);
175 174
 			}
176 175
 		}
Please login to merge, or discard this patch.
ecrire/src/Afficher/Minipres.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,11 +118,9 @@
 block discarded – undo
118 118
 
119 119
 			if ($statut and test_espace_prive()) {
120 120
 				$footer = bouton_action(_T('public:accueil_site'), generer_url_ecrire('accueil'));
121
-			}
122
-			elseif (!empty($_COOKIE['spip_admin'])) {
121
+			} elseif (!empty($_COOKIE['spip_admin'])) {
123 122
 				$footer = bouton_action(_T('public:lien_connecter'), generer_url_public('login'));
124
-			}
125
-			else {
123
+			} else {
126 124
 				$footer = bouton_action(_T('public:accueil_site'), $GLOBALS['meta']['adresse_site']);
127 125
 			}
128 126
 
Please login to merge, or discard this patch.