Skip to content

Commit 2577b00

Browse files
author
Vitaliy Boyko
committed
1220: updated statement
1 parent ddba3cb commit 2577b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/magento/idea/magento2plugin/stubs/indexes/PluginIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ private Set<PluginData> getPluginsForType(final XmlTag typeNode) {
9898
final String pluginType = pluginTag.getAttributeValue(ModuleDiXml.TYPE_ATTR);
9999
String pluginSortOrder = pluginTag.getAttributeValue(ModuleDiXml.SORT_ORDER_ATTR);
100100

101-
if (pluginType != null) {
101+
if (pluginType != null && !pluginType.isEmpty()) {
102102
pluginSortOrder = pluginSortOrder == null ? "0" : pluginSortOrder;
103103
final PluginData pluginData = getPluginDataObject(pluginType, Integer.parseInt(pluginSortOrder));
104104
try {

0 commit comments

Comments
 (0)