From ea932694dfb7ba985f952c982367ea98f27fc77d Mon Sep 17 00:00:00 2001 From: "Committo,Ergo:sum" <esj@rezo.net> Date: Tue, 26 Oct 2004 10:22:43 +0000 Subject: [PATCH] LOGO_RUBRIQUE = LOGO_RUBRIQUE_RUBRIQUE ... --- inc-balises.php3 | 2 +- inc-calcul-outils.php3 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/inc-balises.php3 b/inc-balises.php3 index 204584c1e9..0b345a284b 100644 --- a/inc-balises.php3 +++ b/inc-balises.php3 @@ -626,7 +626,7 @@ function calcul_balise_logo ($p) { "', $_id_objet," . (($suite_logo == '_RUBRIQUE') ? champ_sql("id_rubrique", $p) : - (($type_objet == 'RUBRIQUE') ? $_id_objet : "''")) . + (($type_objet == 'RUBRIQUE') ? "sql_parent($_id_objet)" : false)) . ", $code_lien, '$flag_fichier')"; } $p->statut = 'php'; diff --git a/inc-calcul-outils.php3 b/inc-calcul-outils.php3 index 09053c64f8..26a793b9df 100644 --- a/inc-calcul-outils.php3 +++ b/inc-calcul-outils.php3 @@ -54,7 +54,7 @@ function calcule_logo($type, $onoff, $id, $id_rubrique, $lien, $align, $ff){ $align); } } - else if ($id_rubrique) + else if ($id_rubrique !== false) {$type = 'rub'; $id = $id_rubrique; $id_rubrique = 0;} else if ($type = 'rub') $id = sql_parent($id); if (!$id) return ''; -- GitLab