// Missing '?' on regex

This commit is contained in:
Jerome Nadaud
2013-09-30 14:59:27 +02:00
parent 05eafdb14f
commit 6bb1fa6a4d
+1 -1
View File
@@ -2082,7 +2082,7 @@ abstract class ModuleCore
// Remplacer la ligne de declaration par "remove"
foreach ($override_file as $line_number => &$line_content)
if (preg_match('/(public|private|protected|const)\s+(static\s+)?(\$)'.$property->getName().'/i', $line_content))
if (preg_match('/(public|private|protected|const)\s+(static\s+)?(\$)?'.$property->getName().'/i', $line_content))
{
$line_content = '#--remove--#';
break;