From: x2003bruneau Date: Mon, 15 Jan 2007 16:55:00 +0000 (+0000) Subject: Wiki search do not require admin perms X-Git-Tag: xorg/0.9.13~126 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=aa00e0fa28fc74cb714c37da9a46c7c39a19b91b;p=platal.git Wiki search do not require admin perms git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1345 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/xnet.php b/htdocs/xnet.php index 9e4cc29..410bfe4 100644 --- a/htdocs/xnet.php +++ b/htdocs/xnet.php @@ -43,7 +43,7 @@ new_skinned_page('core/wiki.tpl'); $perms = wiki_get_perms($n); switch (Env::v('action')) { - case '': + case '': case 'search': wiki_apply_perms($perms[0]); break; diff --git a/htdocs/xorg.php b/htdocs/xorg.php index d402773..8042b5e 100644 --- a/htdocs/xorg.php +++ b/htdocs/xorg.php @@ -51,7 +51,7 @@ if (Env::v('display') == 'light') { } switch (Env::v('action')) { - case '': + case '': case 'search': wiki_apply_perms($perms[0]); break;