Fix wrong way of check for can_delete

pull/23/head
Jan-Frederik Rieckers 7 years ago
parent 03f4bad49c
commit 800f07816a
No known key found for this signature in database
GPG Key ID: 664B03955EA04DEF

@ -441,7 +441,7 @@ class AliasHandler extends PFAHandler {
return false;
}
if ($this->can_delete) {
if (!$this->can_delete) {
$this->errormsg[] = Config::Lang_f('protected_alias_cant_be_deleted', $this->id);
return false;
}

Loading…
Cancel
Save