aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/dirsearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/dirsearch.php b/mod/dirsearch.php
index 7bf430bec..064c3f287 100644
--- a/mod/dirsearch.php
+++ b/mod/dirsearch.php
@@ -22,7 +22,7 @@ function dirsearch_content(&$a) {
json_return_and_die($ret);
}
- if(argc > 1 && argv(1) === 'sites') {
+ if(argc() > 1 && argv(1) === 'sites') {
$ret = list_public_sites();
json_return_and_die($ret);
}