Completed
Push — master ( dc31ed...4191b0 )
by cam
01:33
created
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.