Another small bug fix. This is a small fix for those who are storing attachments in the file system. This will cause thumbnails to be rebuilt inccorrectly from albumcp.php.
Note: Install Weasles fixed files and my updates above first.
In admincp/albumcp.php find:
PHP Code:
$thumbnail = fetch_thumbnail_from_image($fileinfo);
$thumbnail = $thumbnail['filedata'];
and add under it:
PHP Code:
if ($vboptions['attachfile'])
{
$thumbnail = $DB_site->escape_string($thumbnail);
}