X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fhcard.php;h=828eeaf0910a3fdd5338d529eb49fbc6bb51283e;hb=708ffaff51d3f5112af6b1fbd25d7ff6391e496e;hp=e27ea29be4b0f8bc5c3e645aee2a38619a8deda9;hpb=7b1ea6cad6f714a669a1d0a8a1fea8c2bb3f3782;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;