correct alias-domainid for reverse-lookup-search

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-03-11 17:07:26 +01:00
parent e4144d8c6a
commit b098dd1e15
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ class Linker
}
// Encode parameters and add them to the link
$link .= urlencode($key) . '=' . urlencode($value);
$link .= urlencode($key) . (!empty($value) ? '=' . urlencode($value) : '');
}
// Reset our class for further use

View File

@@ -93,7 +93,7 @@ return [
'section' => 'domains',
'page' => 'domains',
'searchfield' => 'd.aliasdomain',
'searchtext' => ':id'
'searchtext' => ':domainaliasid'
],
'visible' => [Domain::class, 'canEditAlias']
],