|
|
@@ -150,7 +150,7 @@ class GuestDeclarationOrderService
|
|
|
}
|
|
|
$bottomPlace = UserNetwork::getBottomPlace($referrerId, '', 'left');
|
|
|
$bottom = UserNetwork::find()->select('USER_ID')->where(['LOCATION_TAG' => $bottomPlace])->asArray()->one();
|
|
|
- $bottomUser = $bottom ? User::findOneAsArray(['ID' => $bottom['USER_ID']], 'USER_NAME') : null;
|
|
|
+ $bottomUser = $bottom ? User::findOneAsArray(['ID' => $bottom['USER_ID']], [], 'USER_NAME') : null;
|
|
|
if (!$bottomUser) {
|
|
|
throw new BadRequestHttpException(Yii::t('app', 'stockistDoesNotExist'));
|
|
|
}
|