Completed
Push — master ( 5a91ad...cf2deb )
by cam
04:25
created
ecrire/public/fonctions.php 1 patch
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -115,10 +115,12 @@  discard block
 block discarded – undo
115 115
 
116 116
 	// et reparagrapher si necessaire (coherence avec le cas descriptif)
117 117
 	// une introduction a tojours un <p>
118
-	if ($GLOBALS['toujours_paragrapher']) // Fermer les paragraphes
118
+	if ($GLOBALS['toujours_paragrapher']) {
119
+	    // Fermer les paragraphes
119 120
 	{
120 121
 		$texte = paragrapher($texte, $GLOBALS['toujours_paragrapher']);
121 122
 	}
123
+	}
122 124
 
123 125
 	return $texte;
124 126
 }
@@ -207,8 +209,7 @@  discard block
 block discarded – undo
207 209
 		$pagination['type_pagination'] = $modele;
208 210
 		if (trouver_fond('pagination_'.$modele, 'modeles')) {
209 211
 			$modele = '_' . $modele;
210
-		}
211
-		else {
212
+		} else {
212 213
 			$modele = '';
213 214
 		}
214 215
 	}
@@ -295,8 +296,7 @@  discard block
 block discarded – undo
295 296
 	if ($ids) {
296 297
 		$ids = array_column($ids, 'id_objet');
297 298
 		return implode(',', $ids);
298
-	}
299
-	else {
299
+	} else {
300 300
 		return "0";
301 301
 	}
302 302
 }
Please login to merge, or discard this patch.