Skip to content

Commit 8b85339

Browse files
committed
fix Type column in whitelist/blacklist list
1 parent fac5423 commit 8b85339

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

interface/web/mail/list/mail_blacklist.list.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888

8989

9090
if ($app->auth->is_admin()) {
91-
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
91+
$type_values = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
9292
} else {
93-
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender');
93+
$type_values = array('recipient' => 'Recipient', 'sender' => 'Sender');
9494
}
9595
$liste["item"][] = array( 'field' => "type",
9696
'datatype' => "VARCHAR",

interface/web/mail/list/mail_whitelist.list.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888

8989

9090
if ($app->auth->is_admin()) {
91-
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
91+
$type_values = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
9292
} else {
93-
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender');
93+
$type_values = array('recipient' => 'Recipient', 'sender' => 'Sender');
9494
}
9595
$liste["item"][] = array( 'field' => "type",
9696
'datatype' => "VARCHAR",

0 commit comments

Comments
 (0)