Skip to content

Commit

Permalink
(legacy) url alias doesn't contain an address, closes #457
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Nov 6, 2015
1 parent b383bdd commit 2cb7dc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/etc/inc/util.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2cb7dc0

Please sign in to comment.