mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-26 04:08:01 +03:00
9e4704a75f
Pulled out the logic of finding the attachment(s) into a shared function, which will only return an array if there are multiple attachments, otherwise either null or an object will be returned. This fixes an issue where the code assumed that an array meant we have multiple attachments |
||
---|---|---|
.. | ||
admin-x-activitypub | ||
admin-x-demo | ||
admin-x-design-system | ||
admin-x-framework | ||
admin-x-settings | ||
announcement-bar | ||
comments-ui | ||
portal | ||
signup-form | ||
sodo-search |