Commit 2cb7dc04 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) url alias doesn't contain an address, closes https://github.com/opnsense/core/issues/457

parent b383bdd4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment