Skip to content

Commit

Permalink
SAK-45154 - Unable to move/copy files with CKEditor Filebrowser (saka…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm authored Apr 26, 2021
1 parent 0f8c0ca commit 45fc745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public FsItemAdapter(SakaiFsItem sakaiFsItem) {

@Override
public FsVolume getVolume() {
return new FsVolumeAdapter(sakaiFsItem.getVolume());
return (sakaiFsItem == null) ? null : new FsVolumeAdapter(sakaiFsItem.getVolume());
}

public String getId() {
Expand Down

0 comments on commit 45fc745

Please sign in to comment.