NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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

20e289ce
andryyy <[email protected]> 6 years ago
data/web/inc/functions.pushover.inc.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Diff

diff --git a/data/web/inc/functions.pushover.inc.php b/data/web/inc/functions.pushover.inc.php
index fddd99eb..04e0f344 100644
--- a/data/web/inc/functions.pushover.inc.php
+++ b/data/web/inc/functions.pushover.inc.php
@@ -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'
         );
       }