Commit 84edbd1f authored by Sebastian Castro's avatar Sebastian Castro

Fixs validate modified pending element

parent 31be21cc
parameters:
app.version: 2.0.6
\ No newline at end of file
app.version: 2.0.7
\ No newline at end of file
......@@ -1281,6 +1281,12 @@ class Element
$this->images[] = $image;
}
public function setImages($images)
{
$this->images = $images;
}
/**
* Remove image
*
......
......@@ -119,7 +119,7 @@ class ElementPendingService
if ($modifiedElement)
{
// copying following attributes
$attributes = ['name', 'geo', 'address', 'commitment', 'description', 'descriptionMore', 'telephone', 'email', 'website', 'optionValues', 'openHours', 'openHoursMoreInfos'];
$attributes = ['name', 'geo', 'address', 'optionValues', 'email', 'openHours', 'images', 'data', 'privateData'];
foreach ($attributes as $key)
{
$getter = 'get' . ucfirst($key);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment