Skip to content

Commit

Permalink
fix concat for download
Browse files Browse the repository at this point in the history
  • Loading branch information
ufozone committed Feb 20, 2024
1 parent 14393da commit 2c4c739
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/Sepa/Xml.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
// $Id: Xml.php 7659 2019-04-12 22:45:54Z markus $
// $Id: Xml.php 8738 2024-02-20 23:38:55Z markus $
declare(strict_types=1);

namespace MG\Sepa;
Expand Down Expand Up @@ -157,7 +157,7 @@ public function download(string $filename = '') : void
$filename = 'sepa.xml';
}
header('Content-Type: text/xml');
header('Content-Disposition: attachment; filename="' + $filename + '"');
header('Content-Disposition: attachment; filename="' . $filename . '"');
header('Pragma: no-cache');

echo $this->get();
Expand Down

0 comments on commit 2c4c739

Please sign in to comment.