Browse Source

[Administration] Utilisateurs > liste : configuration du nombre d'utilisateurs affichés par page

feature/souke
Guillaume Bourgeois 1 year ago
parent
commit
84b08aac11
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

@@ -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…
Cancel
Save