X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhcard.php;fp=mod%2Fhcard.php;h=828eeaf0910a3fdd5338d529eb49fbc6bb51283e;hb=41f781c52af32b8748368b5c51f68b31fe0b7164;hp=e27ea29be4b0f8bc5c3e645aee2a38619a8deda9;hpb=358baa9f62b87617992602d3e3a80586ad98c444;p=friendica.git diff --git a/mod/hcard.php b/mod/hcard.php index e27ea29be4..828eeaf091 100644 --- a/mod/hcard.php +++ b/mod/hcard.php @@ -17,8 +17,7 @@ function hcard_init(App $a) if ($a->argc > 1) { $which = $a->argv[1]; } else { - notice(L10n::t('No profile') . EOL); - return; + throw new \Friendica\Network\HTTPException\NotFoundException(L10n::t('No profile')); } $profile = 0;