mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
(legacy) url alias doesn't contain an address, closes https://github.com/opnsense/core/issues/457
This commit is contained in:
parent
b383bdd4a6
commit
2cb7dc042c
@ -978,8 +978,7 @@ function mwexec_bg($command, $mute = false)
|
||||
/* check if an alias exists */
|
||||
function is_alias($name) {
|
||||
global $aliastable;
|
||||
|
||||
return isset($aliastable[$name]);
|
||||
return array_key_exists($name, $aliastable);
|
||||
}
|
||||
|
||||
function alias_get_type($name) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user