X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fauth%2Fauth.inc.php;h=62e94ef1c5ffb12eb2d43d05f77edbf46c4bf32a;hb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;hp=c158ff2a7ce467848cdf8cef0828d3f5ed64700b;hpb=6d1747b3dbcf944c995dc2d87e8561c7a66f3aa6;p=platal.git diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index c158ff2..62e94ef 100644 --- a/modules/auth/auth.inc.php +++ b/modules/auth/auth.inc.php @@ -1,6 +1,6 @@ fetchOneCell(); } else { // if no group asked, return main rights - $perms = S::has_perms() ? 'admin' : 'membre'; + $perms = S::admin() ? 'admin' : 'membre'; } $params .= gpex_prepare_param($val, $perms, $tohash, $charset); } else {