1
1
Fork 0

File ending, Error Message

This commit is contained in:
Michael 2020-06-03 09:40:43 +00:00
parent f2acce6bb2
commit b36fb80eb9

View file

@ -48,7 +48,7 @@ function redir_init(App $a) {
redir_magic($a, $cid, $url); redir_magic($a, $cid, $url);
if (empty($cid)) { if (empty($cid)) {
throw new \Friendica\Network\HTTPException\NotFoundException(DI::l10n()->t('Contact not found.')); throw new \Friendica\Network\HTTPException\BadRequestException(DI::l10n()->t('Bad Request.'));
} }
$fields = ['id', 'uid', 'nurl', 'url', 'addr', 'name', 'network', 'poll', 'issued-id', 'dfrn-id', 'duplex', 'pending']; $fields = ['id', 'uid', 'nurl', 'url', 'addr', 'name', 'network', 'poll', 'issued-id', 'dfrn-id', 'duplex', 'pending'];