Ver código fonte

Merge branch 'develop'

master
Guillaume Bourgeois 1 ano atrás
pai
commit
a8137ce5d2
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      common/logic/Producer/Producer/Service/ProducerPageSizer.php

+ 1
- 1
common/logic/Producer/Producer/Service/ProducerPageSizer.php Ver arquivo

@@ -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);
}

Carregando…
Cancelar
Salvar