Browse Source

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

refactoring
Guillaume Bourgeois 5 years ago
parent
commit
2b2a2239ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      common/models/User.php

+ 1
- 1
common/models/User.php View File

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