Merge #16015 - Fix error in NavigationTree where $key might be sent as an int instead of a str to urlencode
Pull-request: #16015 Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
commit
fa7e63328b
@ -799,7 +799,7 @@ class NavigationTree
|
||||
if ($node instanceof NodeTableContainer
|
||||
|| $node instanceof NodeViewContainer
|
||||
) {
|
||||
$tblGroup = '&tbl_group=' . urlencode($key);
|
||||
$tblGroup = '&tbl_group=' . urlencode((string) $key);
|
||||
$groups[$key]->links = [
|
||||
'text' => $node->links['text'] . $tblGroup,
|
||||
'icon' => $node->links['icon'] . $tblGroup,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user