X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fbanana%2Fhooks.inc.php;h=6f9e8f0e4869b781e2516617ce33044a9d995c98;hb=3af5a31e4e6d5655fa43b218dc3c8ba15c53592e;hp=d8cd9f1ea30fd5e0fee9f4cea20492daa5499a80;hpb=ecf2b474289f94932ff60ab18674610979d0e0db;p=platal.git diff --git a/include/banana/hooks.inc.php b/include/banana/hooks.inc.php index d8cd9f1..6f9e8f0 100644 --- a/include/banana/hooks.inc.php +++ b/include/banana/hooks.inc.php @@ -209,7 +209,7 @@ function make_Organization() global $globals; $perms = S::v('perms'); $group = $globals->asso('nom'); - if (S::has_perms()) { + if (S::admin()) { return "Administrateur de Polytechnique.org"; } else if ($group && $perms->hasFlag('groupadmin')) { return "Animateur de $group";