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