Skip to content

Commit

Permalink
Fix up Templating usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 11, 2023
1 parent aad1cd0 commit d68d61b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/View/Helper/FormatHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function neighbors(array $neighbors, string $field, array $options = []):
}

$ret .= $this->Html->link(
$this->Icon->render('prev') . ' ' . __d('tools', 'prev' . $name),
(string)$this->Icon->render('prev') . ' ' . __d('tools', 'prev' . $name),
$url,
['escape' => false, 'title' => $neighbors['prev'][$titleField]],
);
Expand All @@ -146,7 +146,7 @@ public function neighbors(array $neighbors, string $field, array $options = []):
}

$ret .= $this->Html->link(
$this->Icon->render('next') . ' ' . __d('tools', 'next' . $name),
(string)$this->Icon->render('next') . ' ' . __d('tools', 'next' . $name),
$url,
['escape' => false, 'title' => $neighbors['next'][$titleField]],
);
Expand Down

0 comments on commit d68d61b

Please sign in to comment.