Sfoglia il codice sorgente

Anthély : rappatriement clients depuis le compte Anthéli #793

refactoring
Guillaume 1 anno fa
parent
commit
342c2892ee
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      backend/controllers/ProducerAdminController.php

+ 1
- 1
backend/controllers/ProducerAdminController.php Vedi File

@@ -138,7 +138,7 @@ class ProducerAdminController extends BackendController
$usersArray = User::findBy(['id_producer' => $fromProducerId])->all();

foreach($usersArray as $user) {
Producer::addUser($user->id, $toProducerId);
Producer::addUser($user['user_id'], $toProducerId);
$count ++;
}


Loading…
Annulla
Salva