aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/interfaces/json-rpc/FileOperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/interfaces/json-rpc/FileOperations.cpp b/xbmc/interfaces/json-rpc/FileOperations.cpp
index 6317047125..8dca2758bc 100644
--- a/xbmc/interfaces/json-rpc/FileOperations.cpp
+++ b/xbmc/interfaces/json-rpc/FileOperations.cpp
@@ -124,7 +124,7 @@ JSON_STATUS CFileOperations::GetDirectory(const CStdString &method, ITransportLa
else
filteredFiles.Add(CFileItemPtr(new CFileItem(fileItem)));
}
- else if (media == "files" || items[i]->m_bIsFolder)
+ else
{
if (items[i]->m_bIsFolder)
filteredDirectories.Add(items[i]);