Xpert
Да, так и есть.
Тогда вот решение проблемы:
заменить
Код: Выделить всё
SET physical_filename = '" . str_replace("'", "''", basename($this->attach_filename)) . "', real_filename = '" . str_replace("'", "''", basename($this->filename)) . "', comment = '" . str_replace("'", "''", $comment) . "', extension = '" . str_replace("'", "''", $this->extension) . "', mimetype = '" . str_replace("'", "''", $this->type) . "', filesize = " . $this->filesize . ", filetime = " . $this->filetime . ", thumbnail = " . $this->thumbnail . "
на
Код: Выделить всё
SET physical_filename = '" . str_replace("\'", "''", basename($this->attach_filename)) . "', real_filename = '" . str_replace("\'", "''", basename($this->filename)) . "', comment = '" . str_replace("\'", "''", $comment) . "', extension = '" . str_replace("\'", "''", $this->extension) . "', mimetype = '" . str_replace("\'", "''", $this->type) . "', filesize = " . $this->filesize . ", filetime = " . $this->filetime . ", thumbnail = " . $this->thumbnail . "