Completed
Push — master ( be3b46...518dfb )
by cam
05:16
created
ecrire/public/fonctions.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -358,10 +358,12 @@  discard block
 block discarded – undo
358 358
 
359 359
 	// et reparagrapher si necessaire (coherence avec le cas descriptif)
360 360
 	// une introduction a tojours un <p>
361
-	if ($GLOBALS['toujours_paragrapher']) // Fermer les paragraphes
361
+	if ($GLOBALS['toujours_paragrapher']) {
362
+	    // Fermer les paragraphes
362 363
 	{
363 364
 		$texte = paragrapher($texte, $GLOBALS['toujours_paragrapher']);
364 365
 	}
366
+	}
365 367
 
366 368
 	return $texte;
367 369
 }
@@ -546,8 +548,7 @@  discard block
 block discarded – undo
546 548
 	if ($ids) {
547 549
 		$ids = array_column($ids, 'id_objet');
548 550
 		return implode(',', $ids);
549
-	}
550
-	else {
551
+	} else {
551 552
 		return "0";
552 553
 	}
553 554
 }
Please login to merge, or discard this patch.