diff --git a/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java b/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java index 16c7f6d8b4..7e54920869 100644 --- a/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java +++ b/src/main/java/com/owncloud/android/ui/activity/FolderPickerActivity.java @@ -428,7 +428,7 @@ public class FolderPickerActivity extends FileActivity implements FileFragment.C ArrayList targetFiles = i.getParcelableArrayListExtra(FolderPickerActivity.EXTRA_FILES); Intent data = new Intent(); - data.putExtra(EXTRA_FOLDER, getCurrentFolder()); + data.putExtra(EXTRA_FOLDER, getListOfFilesFragment().getCurrentFile()); data.putParcelableArrayListExtra(EXTRA_FILES, targetFiles); setResult(RESULT_OK, data);