View Issue Details

IDProjectCategoryView StatusLast Update
0022905mantisbtcode cleanuppublic2017-06-04 14:58
Reporterdregad Assigned Todregad  
Status closedResolutionfixed 
Target Version2.5.0Fixed in Version2.5.0 
Summary0022905: The URL of the return button in breadcrumbs div has a trailing '?'

This happens on pages where the return URL is a single page, without query parameters (e.g. my_view_page.php). In that case, the trailing ? is actually not necessary and should not be appended.

TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

MantisBT: master 486e1a7e

2017-05-20 05:57:34


Details Diff
Only append query string to return URL when not blank

The target URL for the 'Login' button in the breadcrumbs div had a
trailing '?' due to appending QUERY_STRING even when no query params
are defined.

Adding a check to only add it when QUERY_STRING is not blank fixes the

Fixes 0022905
Affected Issues
mod - core/layout_api.php Diff File