concretecms / brand_central

A digital asset management system extension for Concrete CMS.
13 stars 4 forks source link

Fix downloading single assets #76

Closed wordish closed 2 years ago

wordish commented 2 years ago

I can't explain why this is needed because it's the same as the collection and lightbox controllers, but for some reason, just using getRelativePath() causes the file not to be added to $zip resulting in $zip->numFiles = 0

(resubmitting against 9.0 per https://github.com/concrete5/brand_central/pull/74#issuecomment-940415937