Skip to content

Commit

Permalink
Fixed link to delete liaison
Browse files Browse the repository at this point in the history
  • Loading branch information
inghamn committed May 18, 2020
1 parent 92ad9d7 commit fba3b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/html/liaisons/partials/dataTable.inc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ foreach ($this->data['results'] as $row) {
$actions = [];
$moreLinks = '';
if ($userCanEdit) { $actions[] = ['url'=>parent::generateUri('liaisons.update')."?liaison_id=$liaison_id", 'label'=>$this->_('liaison_edit' )]; }
if ($userCanDelete) { $actions[] = ['url'=>parent::generateUri('liaisons.update')."?liaison_id=$liaison_id", 'label'=>$this->_('liaison_delete')]; }
if ($userCanDelete) { $actions[] = ['url'=>parent::generateUri('liaisons.delete')."?liaison_id=$liaison_id", 'label'=>$this->_('liaison_delete')]; }
if (count($actions)) {
$h = $this->template->getHelper('dropdown');
$moreLinks = '<td>'.$h->dropdown($actions, $this->_('more'), "actions_$liaison_id").'</td>';
Expand Down

0 comments on commit fba3b9a

Please sign in to comment.