From f5cfbb5916996e3178c391ab5bd2b8ac2b4187fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= <gabor@hojtsy.hu>
Date: Mon, 5 Jul 2010 21:41:38 +0000
Subject: [PATCH] #845672 follow up to #360605 by Damien Tournoud, Berdir, Dave
 Reid: previous (unreleased) fix inadvertantly turned on E_DEPRECATED on
 machines where it was off

---
 includes/bootstrap.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 6cb6323e89b2..e170f27ac12f 100644
--- a/includes/bootstrap.inc
+++ b/includes/bootstrap.inc
@@ -216,7 +216,7 @@
 
 // Hide E_DEPRECATED messages.
 if (defined('E_DEPRECATED')) {
-  error_reporting(error_reporting() ^ E_DEPRECATED);
+  error_reporting(error_reporting() & ~E_DEPRECATED);
 }
 
 /**
-- 
GitLab