Skip to content

Commit 8060d4c

Browse files
author
Vitaliy Boyko
committed
Fixed generation of the new module
1 parent 8bfcf00 commit 8060d4c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/com/magento/idea/magento2plugin/util/magento/MagentoVersionUtil.java

+4
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ public static boolean compare(final String version1, final String version2) {
8787
return true;
8888
}
8989

90+
if (version1.isEmpty()) {
91+
return false;
92+
}
93+
9094
final String[] version1s = version1.split("\\.");
9195
final String[] version2s = version2.split("\\.");
9296
for (int i = 0; i < 2; i++) {

0 commit comments

Comments
 (0)