remove isAdmin definition from orderOverview extension for generating pdf documents

This commit is contained in:
Daniel Seifert 2020-06-04 11:11:40 +02:00
parent 157d9540b3
commit 0ccbcd07c6
Signed by: DanielS
GPG Key ID: 8A7C4C6ED1915C6F

View File

@ -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"));
}