瀏覽代碼

Merge branch 'develop'

master
Guillaume Bourgeois 1 年之前
父節點
當前提交
a8137ce5d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      common/logic/Producer/Producer/Service/ProducerPageSizer.php

+ 1
- 1
common/logic/Producer/Producer/Service/ProducerPageSizer.php 查看文件

@@ -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…
取消
儲存