From c07749f3be9a1eb361f2b8f9aa9f82a60a43f0ae Mon Sep 17 00:00:00 2001 From: pero1203 Date: Wed, 9 Mar 2022 12:23:52 +0100 Subject: [PATCH] Error reporting popravek v ajax klicih --- admin/survey/ajax.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/admin/survey/ajax.php b/admin/survey/ajax.php index 12f9b55ae..a31cdf8e9 100644 --- a/admin/survey/ajax.php +++ b/admin/survey/ajax.php @@ -14,6 +14,10 @@ if (isDebug()){ error_reporting(E_ALL ^ E_NOTICE); ini_set('display_errors', '1'); } +else{ + error_reporting(E_ALL ^ E_NOTICE ^ E_STRICT); + ini_set('display_errors', '0'); +} Common::start();