Sfoglia il codice sorgente

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

refactoring
parent
commit
2b2a2239ed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/models/User.php

+ 1
- 1
common/models/User.php Vedi 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…
Annulla
Salva