X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=aea2c122f1f5bd90a0de29411cd250ae2fc719cf;hb=cab0809050d58f8484608e91f7555ebd69dcb451;hp=836efe4d24f8daa418cf17ef66440388b83da344;hpb=68a269916d88ab4f635de4c96367af1ad82ff135;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index 836efe4..aea2c12 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -61,7 +61,7 @@ function new_group_page($tpl_name) new_page($tpl_name); $page->doAuth(true); - if (!is_member() && !has_perms()) { + if (!is_member() && !S::has_perms()) { $page->kill("You have not sufficient credentials"); } @@ -116,7 +116,7 @@ function new_nonhtml_page($tpl_name) new_page($tpl_name, NO_SKIN); $page->doAuth(true); - if (!is_member() && !has_perms()) { + if (!is_member() && !S::has_perms()) { $page->kill("You have not sufficient credentials"); }