From 711fa922e62b88f45abcc8a78c1a34a3fe5e0a17 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 3 May 2017 22:26:21 +0200 Subject: [PATCH] Fail silent --- data/web/json_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/json_api.php b/data/web/json_api.php index 894a9442..42918163 100644 --- a/data/web/json_api.php +++ b/data/web/json_api.php @@ -14,7 +14,7 @@ delete/alias => POST data: */ header('Content-Type: application/json'); require_once 'inc/prerequisites.inc.php'; -error_reporting(E_ALL); +error_reporting(0); if (isset($_SESSION['mailcow_cc_role']) || isset($_SESSION['pending_mailcow_cc_username'])) { if (isset($_GET['query'])) {