summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.php b/search.php
index 9d5b118e2..c0c7f695b 100644
--- a/search.php
+++ b/search.php
@@ -4,7 +4,7 @@ include_once "includes/common.inc";
page_header();
-if (user_access($user, "search content")) {
+if (user_access("search content")) {
// verify input:
$type = check_input($type);
$keys = check_input($keys);