Sfoglia il codice sorgente

Merge branch 'develop'

master
Guillaume Bourgeois 1 anno fa
parent
commit
a8137ce5d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/logic/Producer/Producer/Service/ProducerPageSizer.php

+ 1
- 1
common/logic/Producer/Producer/Service/ProducerPageSizer.php Vedi File

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

Loading…
Annulla
Salva