1
0
Fork 0

CS fixes, refs #1419

pull/1410/merge
Jordi Boggiano 2012-12-13 15:37:11 +01:00
parent 702742e15f
commit 5fd19f63dd
1 changed files with 3 additions and 3 deletions

View File

@ -625,7 +625,7 @@ class Installer
}
foreach ($this->updateWhitelist as $whiteListedPattern => $void) {
$cleanedWhiteListedPattern = str_replace('\*', '.*', preg_quote($whiteListedPattern));
$cleanedWhiteListedPattern = str_replace('\\*', '.*', preg_quote($whiteListedPattern));
if (preg_match("#^".$cleanedWhiteListedPattern."$#i", $package->getName())) {
return true;