From 3a3b8c75a1cc6f61ea1ed7400b548808609c91d7 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Fri, 23 Mar 2018 19:14:53 +0100 Subject: [PATCH] - bugfix preg_replace could fail on large content resulting in a blank page https://github.com/smarty-php/smarty/issues/417 --- libs/sysplugins/smarty_internal_runtime_codeframe.php | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/sysplugins/smarty_internal_runtime_codeframe.php b/libs/sysplugins/smarty_internal_runtime_codeframe.php index 270f9a55..db303e0a 100644 --- a/libs/sysplugins/smarty_internal_runtime_codeframe.php +++ b/libs/sysplugins/smarty_internal_runtime_codeframe.php @@ -97,7 +97,6 @@ class Smarty_Internal_Runtime_CodeFrame if (preg_match('/\s*\?>[\n]?<\?php\s*/', $output)) { $curr_split = preg_split('/\s*\?>[\n]?<\?php\s*/', $output); - var_dump($curr_split); preg_match_all('/\s*\?>[\n]?<\?php\s*/', $output, $curr_parts);