Skip to content
Snippets Groups Projects
Commit 8b853398 authored by Jesse Norell's avatar Jesse Norell
Browse files

fix Type column in whitelist/blacklist list

parent fac5423a
No related branches found
No related tags found
No related merge requests found
...@@ -88,9 +88,9 @@ $liste["item"][] = array( 'field' => "source", ...@@ -88,9 +88,9 @@ $liste["item"][] = array( 'field' => "source",
if ($app->auth->is_admin()) { if ($app->auth->is_admin()) {
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client'); $type_values = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
} else { } else {
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender'); $type_values = array('recipient' => 'Recipient', 'sender' => 'Sender');
} }
$liste["item"][] = array( 'field' => "type", $liste["item"][] = array( 'field' => "type",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
......
...@@ -88,9 +88,9 @@ $liste["item"][] = array( 'field' => "source", ...@@ -88,9 +88,9 @@ $liste["item"][] = array( 'field' => "source",
if ($app->auth->is_admin()) { if ($app->auth->is_admin()) {
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client'); $type_values = array('recipient' => 'Recipient', 'sender' => 'Sender', 'client' => 'Client');
} else { } else {
$type_values[] = array('recipient' => 'Recipient', 'sender' => 'Sender'); $type_values = array('recipient' => 'Recipient', 'sender' => 'Sender');
} }
$liste["item"][] = array( 'field' => "type", $liste["item"][] = array( 'field' => "type",
'datatype' => "VARCHAR", 'datatype' => "VARCHAR",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment