X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofperm.php;h=077f695bea14c15be10f592258847bcd6e3d1198;hb=e5c2c66487eceea38d7fbe792238991084718bd8;hp=6fb717294994ee0509a19aeef8bea83099c90577;hpb=9330a6994c1b9aee49a482efe32e84ca1a944c9b;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; + } -} +