Browse Source

Merge branch 'develop'

master
Guillaume Bourgeois 1 year ago
parent
commit
a8137ce5d2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/logic/Producer/Producer/Service/ProducerPageSizer.php

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

{ {
$field = $this->getPageSizeConfigName($entity); $field = $this->getPageSizeConfigName($entity);


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

Loading…
Cancel
Save