BasketSnapshot: ignore missing objects

fixes #1940
This commit is contained in:
Thomas Gelf 2019-09-20 00:26:57 +02:00
parent ecf56ff1a7
commit 906f1b3616
1 changed files with 3 additions and 1 deletions

View File

@ -471,6 +471,8 @@ class BasketSnapshot extends DbObject
$identifier,
$connection
);
$this->objects[$typeName][$identifier] = $object->export();
if ($object !== null) {
$this->objects[$typeName][$identifier] = $object->export();
}
}
}