Skip to content

Commit

Permalink
Missing backslash in regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxwin committed May 18, 2019
1 parent 8acf56c commit 0fbe3aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Roundcube/Composer/PluginInstaller.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ private function rcubeAlterConfig($pluginName, $add)
} else {
// No active plugins; empty plugin list
$newConfig = preg_replace(
"/(\\$varname\s*\[\s*['\"]plugins['\"]\s*\])\s*=\s*(.*);/Uis", "\1 = array();",
"/(\\$varname\s*\[\s*['\"]plugins['\"]\s*\])\s*=\s*(.*);/Uis", "\\1 = array();",
$configTemplate,
-1,
$count
Expand Down

0 comments on commit 0fbe3aa

Please sign in to comment.