fix: avoid invalid filename
This commit is contained in:
@@ -34,7 +34,7 @@ class InvoicePdfController extends AbstractController
|
||||
$assignment = $disposition->getAssignment();
|
||||
$destination = $slugger->slug($assignment->getDestination());
|
||||
|
||||
$filename = sprintf('Honorarnote_%s_%s.pdf', $teamerPart, $disposition->getAssignment()->getDestination());
|
||||
$filename = sprintf('Honorarnote_%s_%s.pdf', $teamerPart, $destination);
|
||||
$contentDisposition = HeaderUtils::makeDisposition(
|
||||
HeaderUtils::DISPOSITION_ATTACHMENT,
|
||||
$filename,
|
||||
|
||||
Reference in New Issue
Block a user