From bbf147242499d970087dfa7b65e1389d03fe38ed Mon Sep 17 00:00:00 2001 From: Miro Rauhala <4082806+mirorauhala@users.noreply.github.com> Date: Sun, 12 Jul 2020 11:15:12 +0300 Subject: [PATCH] [WEB] fix undefined elements (#3651) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [WEB] $lang is not used in this context * [Web] $stmt variable is not used * [WEB] fix undefined function * [WEB] remove undefined variable $display --- data/web/json_api.php | 2 +- data/web/mailbox.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/web/json_api.php b/data/web/json_api.php index a05497a8..f0053680 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -551,7 +551,7 @@ if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_u break; default: - $data = rsetting('details', $object); + $data = rsettings('details', $object); process_get_return($data); break; } diff --git a/data/web/mailbox.php b/data/web/mailbox.php index 366aea09..18125049 100644 --- a/data/web/mailbox.php +++ b/data/web/mailbox.php @@ -461,7 +461,7 @@ $_SESSION['return_to'] = $_SERVER['REQUEST_URI'];