Skip to content

Commit

Permalink
Fix $ in key (#31215)
Browse files Browse the repository at this point in the history
  • Loading branch information
thersane-john authored Oct 3, 2024
1 parent b85b826 commit a272d92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/lib/functions.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -12309,9 +12309,9 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url =
$text = $button['text'] ?? '';
$actionType = $button['actionType'] ?? '';
$tmpUrl = DOL_URL_ROOT.$button['url'].(empty($params['backtopage']) ? '' : '&backtopage='.urlencode($params['backtopage']));
$id = $button['$id'] ?? '';
$id = $button['id'] ?? '';
$userRight = $button['perm'] ?? 1;
$params = $button['$params'] ?? [];
$params = $button['params'] ?? [];

$out .= dolGetButtonAction($label, $text, $actionType, $tmpUrl, $id, $userRight, $params);
}
Expand Down

0 comments on commit a272d92

Please sign in to comment.