From 560210eabc5c25b00bab6ddb2ce14291782b332d Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Wed, 13 Mar 2013 17:23:49 +0000
Subject: [PATCH] fix: pb with bitmask of error reporting

---
 core/trunk/install/class/Class_Install.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/trunk/install/class/Class_Install.php b/core/trunk/install/class/Class_Install.php
index 201bd3aa845..74cfde0837e 100755
--- a/core/trunk/install/class/Class_Install.php
+++ b/core/trunk/install/class/Class_Install.php
@@ -185,13 +185,13 @@ class Install extends functions
     public function isIniErrorRepportingRequirements()
     {
         if (version_compare(PHP_VERSION, '5.4') >= 0) {
-            if (ini_get('error_reporting') <> 22519) {
+            if (ini_get('error_reporting') <> 24567) {
                 return false;
             } else {
                 return true;
             }
         } else {
-            if (ini_get('error_reporting') <> 24567) {
+            if (ini_get('error_reporting') <> 22519) {
                 return false;
             } else {
                 return true;
-- 
GitLab