if(($withOrders && $countOrders) || !$withOrders) { | if(($withOrders && $countOrders) || !$withOrders) { | ||||
Producer::addUser($idUser, $toProducerId); | Producer::addUser($idUser, $toProducerId); | ||||
$count ++; | |||||
} | } | ||||
$count ++; | |||||
} | } | ||||
if($count) { | if($count) { |