Explorar el Código

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

refactoring
Guillaume Bourgeois hace 5 años
padre
commit
2b2a2239ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/models/User.php

+ 1
- 1
common/models/User.php Ver fichero

@@ -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()

Cargando…
Cancelar
Guardar