summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc
index d781cbc4d..9c233c2d5 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -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
);