directory structures

This commit is contained in:
friendica
2012-12-21 03:34:17 -08:00
parent abee07f12b
commit 7daf2cf7db
4 changed files with 76 additions and 6 deletions

View File

@@ -5,13 +5,14 @@ require_once('include/socgraph.php');
function allfriends_content(&$a) {
$o = '';
if(! local_user()) {
notice( t('Permission denied.') . EOL);
return;
}
if($a->argc > 1)
$cid = intval($a->argv[1]);
if(argc() > 1)
$cid = intval(argv(1));
if(! $cid)
return;