[spalenque] - #6968 *WIP
This commit is contained in:
parent
606f42d2e8
commit
8bc923482f
|
@ -1189,7 +1189,7 @@ class MarketPlaceAdminPage_Controller extends Page_Controller
|
|||
|
||||
switch (strtolower($marketplace_type)) {
|
||||
case 'distribution': {
|
||||
$distribution = $this->distribution_repository->getBy($query);
|
||||
$distribution = $this->distribution_draft_repository->getBy($query);
|
||||
if (!$distribution) throw new NotFoundEntityException('', '');
|
||||
$render = new DistributionSapphireRender($distribution);
|
||||
$distribution ->IsPreview = true;
|
||||
|
|
Loading…
Reference in New Issue