git subrepo commit mailcow/src/mailcow-dockerized

subrepo: subdir:   "mailcow/src/mailcow-dockerized"
  merged:   "308860af"
upstream: origin:   "https://github.com/mailcow/mailcow-dockerized.git"
  branch:   "master"
  commit:   "3f1a5af8"
git-subrepo: version:  "0.4.5"
  origin:   "???"
  commit:   "???"
Change-Id: I5d51c14b45db54fe706be40a591ddbfcea50d4b0
diff --git a/mailcow/src/mailcow-dockerized/data/web/inc/functions.pushover.inc.php b/mailcow/src/mailcow-dockerized/data/web/inc/functions.pushover.inc.php
index 74e8bb1..5393c0d 100644
--- a/mailcow/src/mailcow-dockerized/data/web/inc/functions.pushover.inc.php
+++ b/mailcow/src/mailcow-dockerized/data/web/inc/functions.pushover.inc.php
@@ -51,6 +51,7 @@
           $active = (isset($_data['active'])) ? intval($_data['active']) : $is_now['active'];

           $evaluate_x_prio = (isset($_data['evaluate_x_prio'])) ? intval($_data['evaluate_x_prio']) : $is_now['evaluate_x_prio'];

           $only_x_prio = (isset($_data['only_x_prio'])) ? intval($_data['only_x_prio']) : $is_now['only_x_prio'];

+          $sound = (isset($_data['sound'])) ? $_data['sound'] : $is_now['sound'];

         }

         else {

           $_SESSION['return'][] = array(

@@ -101,7 +102,8 @@
         $po_attributes = json_encode(

           array(

             'evaluate_x_prio' => strval(intval($evaluate_x_prio)),

-            'only_x_prio' => strval(intval($only_x_prio))

+            'only_x_prio' => strval(intval($only_x_prio)),

+            'sound' => strval($sound)

           )

         );

         $stmt = $pdo->prepare("REPLACE INTO `pushover` (`username`, `key`, `attributes`, `senders_regex`, `senders`, `token`, `title`, `text`, `active`)