// Missing '?' on regex
This commit is contained in:
1 parent
05eafdb14f
commit
6bb1fa6a4d
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user