X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofperm.php;h=077f695bea14c15be10f592258847bcd6e3d1198;hb=ae905cbd1b67b2aeae33a64302368d285f63732d;hp=6fb717294994ee0509a19aeef8bea83099c90577;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git diff --git a/mod/profperm.php b/mod/profperm.php index 6fb7172949..077f695bea 100644 --- a/mod/profperm.php +++ b/mod/profperm.php @@ -1,6 +1,5 @@ argv[1]; profile_load($a,$which,$profile); -} + } -if(! function_exists('profperm_content')) { + function profperm_content(&$a) { if(! local_user()) { @@ -109,9 +108,9 @@ function profperm_content(&$a) { } $o .= '
'; - if($change) + if($change) $o = ''; - + $o .= '
'; $o .= '

' . t('Visible To') . '

'; $o .= '
'; @@ -157,5 +156,6 @@ function profperm_content(&$a) { } $o .= '
'; return $o; + } -} +