diff options
-rw-r--r-- | AUTHORS.md | 4 | ||||
-rw-r--r-- | lib/Db/Item.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/AUTHORS.md b/AUTHORS.md index 25264f040..835ee70f9 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -7,8 +7,8 @@ * [Morris Jobke](mailto:hey@morrisjobke.de) * [Sean Molenaar](mailto:SMillerDev@users.noreply.github.com) * [Jan-Christoph Borchardt](mailto:hey@jancborchardt.net) -* [Daniel Schaal](mailto:daniel@schaal.email) * [Sean Molenaar](mailto:sean@seanmolenaar.eu) +* [Daniel Schaal](mailto:daniel@schaal.email) * [Davide Saurino](mailto:davide.saurino@alcacoop.it) * [raghunayyar](mailto:me@iraghu.com) * [bastei](mailto:bastei@users.noreply.github.com) @@ -38,6 +38,7 @@ * [Jakob Sack](mailto:mail@jakobsack.de) * [Qingping Hou](mailto:dave2008713@gmail.com) * [Roman](mailto:reverse@jamm.me) +* [anoy](mailto:anoymouserver+github@mailbox.org) * [b_b](mailto:bruno@eliaz.fr) * [Andreas Fischer](mailto:bantu@owncloud.com) * [David Guillot](mailto:david@guillot.me) @@ -50,7 +51,6 @@ * [Peter Hedlund](mailto:peter@peterandlinda.com) * [Simon Spannagel](mailto:simonspa@kth.se) * [Valdnet](mailto:47037905+Valdnet@users.noreply.github.com) -* [anoy](mailto:anoymouserver+github@mailbox.org) * [bbBowser](mailto:carspi@mail.de) * [benediktb](mailto:benedikt@blablub.de) * [coderkun](mailto:olli@coderkun.de) diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 37497049c..339540bff 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -595,7 +595,7 @@ class Item extends Entity implements IAPI, \JsonSerializable { return ( - $mime !== null || + $mime !== null && stripos($mime, 'audio/') !== false || stripos($mime, 'image/') !== false || stripos($mime, 'video/') !== false); |