Bug #14821 ยป class.tx_impexp.php.patch
class.tx_impexp.php 2005-11-06 12:18:21.073552232 +0100 | ||
---|---|---|
if (@is_file($tmpFile)) {
|
||
$this->unlinkFiles[] = $tmpFile;
|
||
if (filesize($tmpFile)==$this->dat['files'][$fI['ID']]['filesize']) {
|
||
$this->alternativeFileName[$tmpFile] = $fI['filename'];
|
||
if (isset($fI['filename'])) {
|
||
// this is the new format since 3.8)
|
||
$this->alternativeFileName[$tmpFile] = $fI['filename'];
|
||
} else {
|
||
// this are formats before 3.8
|
||
$this->alternativeFileName[$tmpFile] = $fI['fieldvalue'];
|
||
}
|
||
return $tmpFile;
|
||
} else $this->error('Error: temporary file '.$tmpFile.' had a size ('.filesize($tmpFile).') different from the original ('.$this->dat['files'][$fI['ID']]['filesize'].')',1);
|