mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-20 03:36:20 +02:00
Fix wrong way of check for can_delete
This commit is contained in:
parent
03f4bad49c
commit
800f07816a
@ -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…
Reference in New Issue
Block a user