mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-30 21:44:06 +02:00
update to Smarty 3.1.29
This commit is contained in:
@@ -89,6 +89,6 @@ class Smarty_Internal_Runtime_CodeFrame
|
||||
$output .= $functions;
|
||||
$output .= "<?php }\n";
|
||||
// remove unneeded PHP tags
|
||||
return preg_replace('/\s*\?>[\n]?<\?php\s*/', "\n", $output);
|
||||
return preg_replace(array('/\s*\?>[\n]?<\?php\s*/', '/\?>\s*$/'), array("\n", ''), $output);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user