remove isAdmin definition from orderOverview extension for generating pdf documents
This commit is contained in:
parent
157d9540b3
commit
0ccbcd07c6
@ -51,7 +51,6 @@ class d3_overview_controller_pdfdocuments extends d3_overview_controller_pdfdocu
|
||||
/** @var d3_Order_PdfDocuments $oOrder */
|
||||
$oOrder = oxNew(Order::class);
|
||||
if ($oOrder->load($soxId)) {
|
||||
self::$_blIsAdmin = 0;
|
||||
$generator = oxNew( orderOverviewPdfGenerator::class );
|
||||
$generator->generatePdf($oOrder, Registry::getRequest()->getRequestEscapedParameter("pdflanguage"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user