Commit bb05f611 authored by Skia's avatar Skia

Fix compte AE link

parent 33e80cd7
......@@ -436,7 +436,8 @@ class interfaceweb
$this->buffer .= "menu_utilisateur[$i]='<a class=\"firstdropdown\" href=\"" . $topdir . "user.php?id_utilisateur=" . $this->user->id . "\">Mes informations</a>';";
$i++;
if ($this->user->ae) {
$this->buffer .= "menu_utilisateur[$i]='<a href=\"" . $topdir . "user/compteae.php\">Compte AE : " . (sprintf("%.2f", $this->user->montant_compte / 100)) . " €</a>';";
$this->buffer .= "menu_utilisateur[$i]='<a href=\"" . $topdir . "user/compteae.php?id_utilisateur=" .
$this->user->id . "\">Compte AE : " . (sprintf("%.2f", $this->user->montant_compte / 100)) . " €</a>';";
$i++;
}
$i++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment