function name

This commit is contained in:
friendica 2013-09-05 22:23:57 -07:00
parent 6c6f134ac4
commit 2c53017fb5

View File

@ -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);
}