Skip to content

Commit

Permalink
fixed: incomplete link in csv export complete notification
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Jul 11, 2019
1 parent 2cbc6e1 commit cefccbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classes/CSVExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,15 +354,15 @@ protected function complete() {
]);
} else {
// admin export
$download_link = elgg_normalize_url('admin/administer_utilities/csv_exporter/download');
$download_link = 'admin/administer_utilities/csv_exporter/download';
}
$owner = $this->getOwnerEntity();

$subject = elgg_echo('csv_exporter:notify:complete:subject', [$title]);
$message = elgg_echo('csv_exporter:notify:complete:message', [
$owner->getDisplayName(),
$title,
$download_link,
elgg_normalize_url($download_link),
]);

$params = [
Expand Down

0 comments on commit cefccbc

Please sign in to comment.