Completed
Push — master ( 350a8b...37aa61 )
by cam
01:39
created
ecrire/action/editer_liens.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -390,8 +390,7 @@
 block discarded – undo
390 390
 			if (lien_triables($table_lien)) {
391 391
 				if (isset($qualif['rang_lien'])) {
392 392
 					$rang = $qualif['rang_lien'];
393
-				}
394
-				else {
393
+				} else {
395 394
 					$where = lien_where($primary, $id, $objet, $id_objet);
396 395
 					// si il y a deja un lien pour ce couple (avec un autre role?) on reprend le meme rang si non nul
397 396
 					if (!$rang = (int) sql_getfetsel('rang_lien', $table_lien, $where)) {
Please login to merge, or discard this patch.
ecrire/action/editer_logo.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,7 @@
 block discarded – undo
41 41
 		if ((is_countable($logo) ? count($logo) : 0) < 6) {
42 42
 			spip_log('Supprimer ancien logo ' . json_encode($logo, JSON_THROW_ON_ERROR), 'logo');
43 43
 			spip_unlink($logo[0]);
44
-		}
45
-		elseif (
44
+		} elseif (
46 45
 			($doc = $logo[5])
47 46
 			&& isset($doc['id_document'])
48 47
 			&& ($id_document = $doc['id_document'])
Please login to merge, or discard this patch.