Skip to content

Commit

Permalink
webui: fix url of backupunitreport
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens authored and BareosBot committed Feb 5, 2024
1 parent 8621585 commit d49fe24
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -101,9 +101,9 @@ Please request a quote by sending the report via email to <a href="mailto:sales@
</div>

<?php
if ($this->directorOutput) {
echo '<a class="btn btn-primary" href="/director/backupunitreport">Download Backup Unit Report (JSON)</a>';
}
if ($this->directorOutput) {
echo '<a class="btn btn-primary" href="' . $this->url('director', array('action' => 'backupunitreport')) . '">' . $this->translate('Download Backup Unit Report (JSON)') . '</a>';
}
?>

<?php endif; ?>

0 comments on commit d49fe24

Please sign in to comment.