Skip to content

Commit e0ff61e

Browse files
authored
CoreButtonsTrait back() generates wrong button text joomla#44432 (joomla#44509)
1 parent 15bf3d1 commit e0ff61e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/src/Toolbar/CoreButtonsTrait.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ public function inlinehelp(string $class = 'hide-aware-inline-help'): Inlinehelp
154154
*/
155155
public function back(string $text = 'JTOOLBAR_BACK'): LinkButton
156156
{
157-
return $this->link('back', $text)
158-
->url('javascript:history.back();');
157+
return $this->link($text, 'javascript:history.back();');
159158
}
160159

161160
/**

0 commit comments

Comments
 (0)