From 2c53017fb5fc250f3b8a9fa9fa33ff6ef0dd341f Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 5 Sep 2013 22:23:57 -0700 Subject: [PATCH] function name --- mod/dirsearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }