瀏覽代碼

[producer] Order : correction bug point de vente favoris absent

dev
Guillaume Bourgeois 5 年之前
父節點
當前提交
2b2a2239ed
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      common/models/User.php

+ 1
- 1
common/models/User.php 查看文件

@@ -591,7 +591,7 @@ class User extends ActiveRecordCommon implements IdentityInterface
public function getFavoritePointSale()
{
$arrayUserPointSale = UserPointSale::find()
->innerJoinWith('pointSale')
->innerJoinWith('pointSale', true)
->where([
'user_point_sale.id_user' => $this->id,
'point_sale.id_producer' => Producer::getId()

Loading…
取消
儲存