We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f178c7 commit 657cba0Copy full SHA for 657cba0
src/com/magento/idea/magento2plugin/inspections/xml/PluginDeclarationInspection.java
@@ -75,7 +75,13 @@ public void visitFile(PsiFile file) {
75
XmlAttribute pluginTypeNameAttribute = pluginTypeXmlTag.getAttribute(ModuleDiXml.PLUGIN_TYPE_ATTR_NAME);
76
XmlAttribute pluginTypeDisabledAttribute = pluginTypeXmlTag.getAttribute(ModuleDiXml.DISABLED_ATTR_NAME);
77
78
- if (pluginTypeNameAttribute == null || (pluginTypeDisabledAttribute != null && pluginTypeDisabledAttribute.getValue().equals("true"))) {
+ if (pluginTypeNameAttribute == null ||
79
+ (
80
+ pluginTypeDisabledAttribute != null &&
81
+ pluginTypeDisabledAttribute.getValue() != null &&
82
+ pluginTypeDisabledAttribute.getValue().equals("true")
83
+ )
84
+ ) {
85
continue;
86
}
87
0 commit comments