summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2016-03-22 14:41:32 +0100
committerPhilip Häusler <msquare@notrademark.de>2016-03-22 14:41:36 +0100
commitd0a07a74cc0323d6fcc26c411ec272bc9dbee135 (patch)
tree780aeb7ebad76a2a123d73543f120c671d080125
parentc35cf85db5207133a53b316b2bde8ec46f53a274 (diff)
remove preg replace with e flag for php 7
-rw-r--r--includes/sys_log.php2
1 files changed, 1 insertions, 1 deletions
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;
}