nextcloud/core
Daniel Calviño Sánchez 66f2b155ce Fix empty mime type filter
When the mime type is an empty array no filter should be applied.
However, the filter was loosely compared to an empty array, but as
arrays are objects then it became an implicit strict equality comparison
which always failed due to being different objects. Now the length of
the array is compared instead, and also moved outside the loop as it is
not needed to check it for each file.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-30 14:02:50 +02:00
..
BackgroundJobs Background job to clean up old backups of the updater 2018-06-13 17:43:29 +02:00
Command Merge pull request #10334 from denismosolov/group-add 2018-08-24 13:46:16 +03:00
Controller Merge pull request #10670 from nextcloud/fix/login-throttle-username-length 2018-08-24 16:25:35 +02:00
Middleware Update license headers 2017-11-06 16:56:19 +01:00
Migrations Add "password_by_talk" column to "share" table in the database 2018-07-24 13:56:25 +02:00
ajax Use ellipsis instead of triple dot 2018-06-22 11:08:26 +02:00
css Merge pull request #10881 from nextcloud/fix/10705/notification-width 2018-08-28 13:08:09 +02:00
doc
fonts OpenSans font contrast option 2018-06-25 17:12:27 +02:00
img Restores the guest icons 2018-08-08 23:19:37 +02:00
js Fix empty mime type filter 2018-08-30 14:02:50 +02:00
l10n [tx-robot] updated from transifex 2018-08-30 00:12:07 +00:00
search Fix search on public pages 2018-07-25 12:20:46 +02:00
skeleton
templates Show link to simple sign up page 2018-08-23 14:41:19 +02:00
vendor Rerun js build 2018-07-24 13:23:43 +02:00
Application.php Add filecache index on mtime 2018-07-19 17:43:20 +02:00
register_command.php Add an options to create and remove groups via occ 2018-08-16 10:31:20 +03:00
routes.php Svg icon api sass function and upgrade of all styles 2018-07-19 08:16:57 +02:00
shipped.json Support app is shipped 2018-07-25 15:42:36 +02:00
strings.php