浏览代码

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

正在加载...
取消
保存