X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=inline;f=modules%2Fauth%2Fauth.inc.php;h=305e0fc836f25dcf549d34ed29c1198862fc8286;hb=d0c3e04d0ef9d627bafcb396b970e28309985d8a;hp=9fd9c6946b3a5250e201ed904d253f42a1152568;hpb=5ffcbb7c3eb31bdbf2dc4dd8b084ca8457c3c19d;p=platal.git diff --git a/modules/auth/auth.inc.php b/modules/auth/auth.inc.php index 9fd9c69..305e0fc 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 = Session::has_perms()?'admin':'membre'; + $perms = S::has_perms() ? 'admin' : 'membre'; } $params .= gpex_prepare_param($val, $perms, $tohash, $charset); }