From d0a07a74cc0323d6fcc26c411ec272bc9dbee135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 22 Mar 2016 14:41:32 +0100 Subject: [PATCH] remove preg replace with e flag for php 7 --- includes/sys_log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/sys_log.php b/includes/sys_log.php index 66ff5820..b37f0d82 100644 --- a/includes/sys_log.php +++ b/includes/sys_log.php @@ -32,7 +32,7 @@ function debug_string_backtrace() { $trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1); // Renumber backtrace items. - $trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace); + // $trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace); return $trace; }