From 2947dd694a44188467e094e8cb41da952e97db56 Mon Sep 17 00:00:00 2001 From: Mirzaev Date: Sun, 23 Oct 2022 07:36:20 +1000 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=90=D0=96=D0=9D=D0=9E=D0=95=20=D0=98?= =?UTF-8?q?=D0=A1=D0=9F=D0=A0=D0=90=D0=92=D0=9B=D0=95=D0=9D=D0=98=D0=95=20?= =?UTF-8?q?=D0=A1=D0=9E=D0=97=D0=94=D0=90=D0=9D=D0=98=D0=AF=20=D0=A0=D0=95?= =?UTF-8?q?=D0=91=D0=A0=D0=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mirzaev/arangodb/system/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirzaev/arangodb/system/document.php b/mirzaev/arangodb/system/document.php index a60eafd..657efad 100644 --- a/mirzaev/arangodb/system/document.php +++ b/mirzaev/arangodb/system/document.php @@ -35,7 +35,7 @@ class document public static function write(_connection $session, string $collection, ?array $data = [], ?array $metadata = [], bool $check = true, ?terminal $terminal = null): ?string { // Инициализация коллекции - collection::init($session, $collection, isset($data['_from'], $data['_to'])); + collection::init($session, $collection, isset($metadata['_from'], $metadata['_to'])); if (isset($metadata['_from'], $metadata['_to'])) { // Ребро