fix: avoid invalid filename
This commit is contained in:
1 parent
03c86755d4
commit
029029db11
1 file changed
+1
-1
@@ -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