1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2024-12-04 10:24:42 +02:00

[Web] Fix stupid mistake, thanks to @ntimo!

This commit is contained in:
andryyy 2020-05-24 19:32:46 +02:00
parent 0ae53f3fa5
commit 20e289ce35
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF

View File

@ -36,7 +36,7 @@ function pushover($_action, $_data = null) {
));
$_SESSION['return'][] = array(
'type' => 'success',
'log' => array(__FUNCTION__, $_action, $_data, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
'msg' => 'pushover_settings_edited'
);
continue;
@ -56,7 +56,7 @@ function pushover($_action, $_data = null) {
else {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
'log' => array(__FUNCTION__, $_action, $_data),
'msg' => 'access_denied'
);
continue;
@ -64,7 +64,7 @@ function pushover($_action, $_data = null) {
if (!empty($senders_regex) && !is_valid_regex($senders_regex)) {
$_SESSION['return'][] = array(
'type' => 'danger',
'log' => array(__FUNCTION__, $_action, $_type, $_data_log, $_attr),
'log' => array(__FUNCTION__, $_action, $_data),
'msg' => 'Invalid regex'
);
continue;
@ -120,7 +120,7 @@ function pushover($_action, $_data = null) {
));
$_SESSION['return'][] = array(
'type' => 'success',
'log' => array(__FUNCTION__, $_action, $_data, $_data),
'log' => array(__FUNCTION__, $_action, $_data),
'msg' => 'pushover_settings_edited'
);
}