Pārlūkot izejas kodu

Merge branch 'develop'

master
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
a8137ce5d2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      common/logic/Producer/Producer/Service/ProducerPageSizer.php

+ 1
- 1
common/logic/Producer/Producer/Service/ProducerPageSizer.php Parādīt failu

@@ -39,7 +39,7 @@ class ProducerPageSizer extends AbstractUtils
{
$field = $this->getPageSizeConfigName($entity);

if(isset($producer->$field) && $this->pageSizer->isPageSizeExist($pageSize)) {
if($producer->hasAttribute($field) && $this->pageSizer->isPageSizeExist($pageSize)) {
$producer->$field = $pageSize;
$this->producerBuilder->update($producer);
}

Notiek ielāde…
Atcelt
Saglabāt