N°6389 - Fix SQL error when saving an object with an emptied blob attribute

This commit is contained in:
Molkobain
2023-06-22 20:43:56 +02:00
parent 83564849e0
commit b642dbe3d6

View File

@@ -8349,7 +8349,7 @@ class AttributeBlob extends AttributeDefinition
$aValues[$this->GetCode().'_data'] = '';
$aValues[$this->GetCode().'_mimetype'] = '';
$aValues[$this->GetCode().'_filename'] = '';
$aValues[$this->GetCode().'_downloads_count'] = \ormDocument::DEFAULT_DOWNLOADS_COUNT;
$aValues[$this->GetCode().'_downloads_count'] = ormDocument::DEFAULT_DOWNLOADS_COUNT;
}
return $aValues;