ingenesis/shopp — pull request #2260 by crunnells (2013-05-16 02:10:24+00:00)
Title: Fix for DownloadAsset loading old filenames

Based on our discussion in IRC; fixed a situation where there are multiple lines in wp_shopp_meta for a download, and the SQL wasn't specific enough to load the most recent file. Also changed "LEFT JOIN" to "INNER JOIN".