From 8f24c5fe3a8d01ed1d32e924c4e0057a87f0144c Mon Sep 17 00:00:00 2001
From: nicod_ <nicod@lerebooteux.fr>
Date: Wed, 26 Apr 2023 20:38:52 +0200
Subject: [PATCH] Formatage

---
 blocks_fonctions.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/blocks_fonctions.php b/blocks_fonctions.php
index e2342d6..ccd2760 100644
--- a/blocks_fonctions.php
+++ b/blocks_fonctions.php
@@ -158,18 +158,18 @@ function _block_charger_block($id_bloc) {
  * @param $id_bloc
  * @return mixed|string
  */
-function generer_TITRE_BLOC($id_bloc){
-	if($infos = sql_fetsel(
+function generer_TITRE_BLOC($id_bloc) {
+	if ($infos = sql_fetsel(
 		'bt.titre, bl.objet, bl.rang_lien, bl.id_objet',
 		'spip_blocs b join spip_blocs_types bt using(id_blocs_type) left join spip_blocs_liens bl using(id_bloc)',
-		'b.id_bloc = '.(int)$id_bloc
+		'b.id_bloc = ' . (int)$id_bloc
 	)) {
 		$titre = $infos['titre'];
 		if ($infos['id_objet'] && $infos['objet']) {
 			$titre = generer_objet_info($infos['id_objet'], $infos['objet'], 'titre') . ' - ' . $titre . ' #' . $infos['rang_lien'];
 		}
 	} else {
-		$titre = _T('bloc:titre_bloc').' '.$id_bloc;
+		$titre = _T('bloc:titre_bloc') . ' ' . $id_bloc;
 	}
 
 	return $titre;
-- 
GitLab