From 1f0df22c8381aa844d0bda91f39dba3661fba9c8 Mon Sep 17 00:00:00 2001
From: prasad <prasad@vtiger.com>
Date: Wed, 7 Feb 2018 23:43:18 +0530
Subject: [PATCH] Tunned error_reporting friendly to installation

---
 modules/Install/views/Index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Install/views/Index.php b/modules/Install/views/Index.php
index 30987167e..979c65d99 100644
--- a/modules/Install/views/Index.php
+++ b/modules/Install/views/Index.php
@@ -172,7 +172,7 @@ class Install_Index_view extends Vtiger_View_Controller {
 
 	public function Step7(Vtiger_Request $request) {
 		// Set favourable error reporting
-		version_compare(PHP_VERSION, '5.5.0') <= 0 ? error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED) : error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
+		version_compare(PHP_VERSION, '5.5.0') <= 0 ? error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED) : error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);
 
 		$moduleName = $request->getModule();
 		$webuiInstance = new Vtiger_WebUI();
-- 
GitLab