diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-12-03 13:46:41 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-12-03 13:46:41 +0100 |
commit | 1b0a17c7dba1ca2ff5cc6d943d37abb14a5ec73c (patch) | |
tree | 75fd03333e51465fa8512b17200eb604db25b166 /Zotlabs/Module/Profiles.php | |
parent | fe7ecede700fe04631d23f36473e697ce2b364dc (diff) | |
parent | 60b145833c5c07898363d51838a942b876f60c3c (diff) | |
download | volse-hubzilla-1b0a17c7dba1ca2ff5cc6d943d37abb14a5ec73c.tar.gz volse-hubzilla-1b0a17c7dba1ca2ff5cc6d943d37abb14a5ec73c.tar.bz2 volse-hubzilla-1b0a17c7dba1ca2ff5cc6d943d37abb14a5ec73c.zip |
Merge branch 'dev'
Diffstat (limited to 'Zotlabs/Module/Profiles.php')
-rw-r--r-- | Zotlabs/Module/Profiles.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php index 73bae45e8..1512148b1 100644 --- a/Zotlabs/Module/Profiles.php +++ b/Zotlabs/Module/Profiles.php @@ -189,7 +189,6 @@ class Profiles extends \Zotlabs\Web\Controller { } $chan = \App::get_channel(); - profile_load($chan['channel_address'],$r[0]['id']); } } @@ -657,6 +656,7 @@ class Profiles extends \Zotlabs\Web\Controller { intval($id), intval(local_channel()) ); + if(! $r) { notice( t('Profile not found.') . EOL); return; |