* Exporter for MyBB 1.6.x
*
* @author Tim Duesterhus
- * @copyright 2001-2013 WoltLab GmbH
+ * @copyright 2001-2014 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
* @package com.woltlab.wcf.exporter
* @subpackage system.exporter
$statement->execute();
while ($row = $statement->fetchArray()) {
$fileLocation = FileUtil::addTrailingSlash($uploadsPath).$row['attachname'];
+ if (!file_exists($fileLocation)) continue;
if ($imageSize = getimagesize($fileLocation)) {
$row['isImage'] = 1;