Skip to content

Commit

Permalink
Prevent NPE #67
Browse files Browse the repository at this point in the history
  • Loading branch information
junichi11 committed Nov 19, 2015
1 parent ba7a1e2 commit c3a3eb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/org/nbphpcouncil/modules/php/yii/ConfigurationFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ private synchronized List<FileObject> getConfigDirectories() {
return Collections.emptyList();
}
FileObject config = applicationDirectory.getFileObject("config"); // NOI18N
if (config == null) {
return Collections.emptyList();
}
List<FileObject> directories = Collections.singletonList(config);
if (!isInitialized) {
isInitialized = true;
Expand Down

0 comments on commit c3a3eb9

Please sign in to comment.