ВАЖНОЕ ИСПРАВЛЕНИЕ СОЗДАНИЯ РЕБРА

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2022-10-23 07:36:20 +10:00
parent b70d384053
commit 2947dd694a

View File

@ -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'])) {
// Ребро