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

LOGO_RUBRIQUE = LOGO_RUBRIQUE_RUBRIQUE ...

parent b50dc168
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -626,7 +626,7 @@ function calcul_balise_logo ($p) { ...@@ -626,7 +626,7 @@ function calcul_balise_logo ($p) {
"', $_id_objet," . "', $_id_objet," .
(($suite_logo == '_RUBRIQUE') ? (($suite_logo == '_RUBRIQUE') ?
champ_sql("id_rubrique", $p) : champ_sql("id_rubrique", $p) :
(($type_objet == 'RUBRIQUE') ? $_id_objet : "''")) . (($type_objet == 'RUBRIQUE') ? "sql_parent($_id_objet)" : false)) .
", $code_lien, '$flag_fichier')"; ", $code_lien, '$flag_fichier')";
} }
$p->statut = 'php'; $p->statut = 'php';
......
...@@ -54,7 +54,7 @@ function calcule_logo($type, $onoff, $id, $id_rubrique, $lien, $align, $ff){ ...@@ -54,7 +54,7 @@ function calcule_logo($type, $onoff, $id, $id_rubrique, $lien, $align, $ff){
$align); $align);
} }
} }
else if ($id_rubrique) else if ($id_rubrique !== false)
{$type = 'rub'; $id = $id_rubrique; $id_rubrique = 0;} {$type = 'rub'; $id = $id_rubrique; $id_rubrique = 0;}
else if ($type = 'rub') $id = sql_parent($id); else if ($type = 'rub') $id = sql_parent($id);
if (!$id) return ''; if (!$id) return '';
......
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