From b3a5b7b51f651bf4a31f6c0fddb71f5b86cb4e03 Mon Sep 17 00:00:00 2001 From: Arsen Mirzaev Tatyano-Muradovich Date: Sun, 11 Apr 2021 11:51:59 +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=D0=B5=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/yii2/arangodb/Query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mirzaev/yii2/arangodb/Query.php b/mirzaev/yii2/arangodb/Query.php index 1e45224..1be4619 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('Не найдена коллекция'); - $query->collection ?? $query->collection = self::checkArrayAndConvert($query->for); + $this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); $data = Serializer::encode($columns); @@ -994,7 +994,7 @@ class Query extends Component implements QueryInterface // Инициализация $this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция'); $this->for ?? $this->for = $this->in; - $query->collection ?? $query->collection = self::checkArrayAndConvert($query->for); + $this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); $clauses = [ static::genFor($this->for), @@ -1046,7 +1046,7 @@ class Query extends Component implements QueryInterface // Инициализация $this->in ?? $this->in = $this->collection ?? throw new Exception('Не найдена коллекция'); $this->for ?? $this->for = $this->in; - $query->collection ?? $query->collection = self::checkArrayAndConvert($query->for); + $this->collection ?? $this->collection = self::checkArrayAndConvert($this->for); $clauses = [ static::genFor($this->for),