Browse Source

Merge branch 'dev'

prodstable
Guillaume Bourgeois 5 years ago
parent
commit
be3269487f
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