From cbc26916ea54bb767306e4c2750e710b08eecc21 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Mon, 12 Apr 2021 05:27:43 +1000 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/yii2/arangodb/Query.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirzaev/yii2/arangodb/Query.php b/mirzaev/yii2/arangodb/Query.php index 1be4619..972e4ef 100644 --- a/mirzaev/yii2/arangodb/Query.php +++ b/mirzaev/yii2/arangodb/Query.php @@ -947,7 +947,7 @@ class Query extends Component implements QueryInterface { // Инициализация $this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция'); - $this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); + $this->collection ?? $this->collection = $this->in; $data = Serializer::encode($columns);