From 3ccadca3f784ba779b948d979dac458b3f8269ae Mon Sep 17 00:00:00 2001 From: Erich Schulz Date: Tue, 3 Jan 2017 02:34:54 +0000 Subject: [PATCH] highlight issue with changing error config deep in script --- CRM/Utils/System/Drupal.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Utils/System/Drupal.php b/CRM/Utils/System/Drupal.php index 0619fce6d7..662ea5b6d0 100644 --- a/CRM/Utils/System/Drupal.php +++ b/CRM/Utils/System/Drupal.php @@ -487,6 +487,8 @@ AND u.status = 1 @drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); // explicitly setting error reporting, since we cannot handle drupal related notices + // @todo 1 = E_ERROR, but more to the point setting error reporting deep in code + // causes grief with debugging scripts error_reporting(1); if (!function_exists('module_exists')) { if ($throwError) { -- 2.25.1