Browse Source

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

refactoring
Guillaume 1 year ago
parent
commit
342c2892ee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/ProducerAdminController.php

+ 1
- 1
backend/controllers/ProducerAdminController.php View 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…
Cancel
Save