correct filtering of images

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2018-06-19 09:33:36 +02:00 committed by AndyScherzinger
parent b3356b9758
commit dc2e8f9027
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -2182,7 +2182,7 @@ public class FileDataStorageManager {
if (onlyImages) {
List<OCFile> temp = new ArrayList<>();
for (OCFile file : temp) {
for (OCFile file : ocFiles) {
if (MimeTypeUtil.isImage(file)) {
temp.add(file);
}