Skip to content
Extraits de code Groupes Projets
Valider ef060325 rédigé par Fil's avatar Fil
Parcourir les fichiers

bug #LOGO_SITE (aller cherche id_syndic et pas id_site)

(Jean-Luc Béchennec)
parent 8bfb5269
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -504,7 +504,11 @@ function calcul_balise_logo ($p) {
$type_logo = $regs[1]; // ARTICLE_RUBRIQUE
$type_objet = $regs[2]; // ARTICLE
$suite_logo = $regs[3]; // _RUBRIQUE
$_id_objet = champ_sql("id_$type_objet", $p);
if ($type_objet == 'SITE')
$_id_objet = champ_sql("id_syndic", $p);
else
$_id_objet = champ_sql("id_".strtolower($type_objet), $p);
// analyser les filtres
$flag_fichier = 'false';
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter