Commit 38266410 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#173494 by scor: removing a strange string concatenation from common.inc

parent ad6b5dbe
......@@ -1984,7 +1984,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
if ($escape) {
// Remove escaped characters
$script = preg_replace_callback(
'/\\\\(.)' .'/',
'/\\\\(.)/',
'_packer_escape_char',
$script
);
......@@ -2002,7 +2002,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
// Restore escaped characters
_packer_unescape_char(NULL, $escaped);
$script = preg_replace_callback(
'/\\\\' .'/',
'/\\\\/',
'_packer_unescape_char',
$script
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment