Wiki search do not require admin perms
authorx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 15 Jan 2007 16:55:00 +0000 (16:55 +0000)
committerx2003bruneau <x2003bruneau@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 15 Jan 2007 16:55:00 +0000 (16:55 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1345 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs/xnet.php
htdocs/xorg.php

index 9e4cc29..410bfe4 100644 (file)
@@ -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;
 
index d402773..8042b5e 100644 (file)
@@ -51,7 +51,7 @@ if (Env::v('display') == 'light') {
 }
 
 switch (Env::v('action')) {
-  case '':
+  case '': case 'search':
     wiki_apply_perms($perms[0]);
     break;