remove preg replace with e flag for php 7

main
Philip Häusler 9 years ago
parent c35cf85db5
commit d0a07a74cc

@ -32,7 +32,7 @@ function debug_string_backtrace() {
$trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1); $trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1);
// Renumber backtrace items. // Renumber backtrace items.
$trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace); // $trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace);
return $trace; return $trace;
} }

Loading…
Cancel
Save