bzcomputers
Customer
Every time you update/change the download file, the thumbnail for that download are always cleared and have to be reuploaded too. It would be great if they would stay the same unless you choose to change/delete them.
$this->registry->db->query_write("
UPDATE " . TABLE_PREFIX . "dbtech_downloads_filegroup
SET
image = IF(image = 0, '" . $imageid . "', image),
files = '" . implode(',', (array)$fileids) . "',
filecount = " . intval($filecount['files']) . "
WHERE groupid = " . intval($this->groupid) . "
");
$this->registry->db->query_write("
UPDATE " . TABLE_PREFIX . "dbtech_downloads_filegroup
SET
files = '" . implode(',', (array)$fileids) . "',
filecount = " . intval($filecount['files']) . "
WHERE groupid = " . intval($this->groupid) . "
");
We use essential cookies to make this site work, and optional cookies to enhance your experience.