0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00

Fix wrong way of check for can_delete

This commit is contained in:
Jan-Frederik Rieckers 2017-02-07 15:54:21 +01:00
parent 03f4bad49c
commit 800f07816a
No known key found for this signature in database
GPG Key ID: 664B03955EA04DEF

View File

@ -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;
}