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

6.x
Gábor Hojtsy 2007-09-20 08:30:34 +00:00
parent ad6b5dbef0
commit 382664105b
1 changed files with 2 additions and 2 deletions

View File

@ -1984,7 +1984,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
if ($escape) { if ($escape) {
// Remove escaped characters // Remove escaped characters
$script = preg_replace_callback( $script = preg_replace_callback(
'/\\\\(.)' .'/', '/\\\\(.)/',
'_packer_escape_char', '_packer_escape_char',
$script $script
); );
@ -2002,7 +2002,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
// Restore escaped characters // Restore escaped characters
_packer_unescape_char(NULL, $escaped); _packer_unescape_char(NULL, $escaped);
$script = preg_replace_callback( $script = preg_replace_callback(
'/\\\\' .'/', '/\\\\/',
'_packer_unescape_char', '_packer_unescape_char',
$script $script
); );