MantisBT: master 486e1a7e

Author Committer Branch Timestamp Parent
dregad dregad master 2017-05-20 05:57:34 master 0562a516
Affected Issues 0022905: The URL of the return button in breadcrumbs div has a trailing '?'
Changeset

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
problem.

Fixes 0022905

mod - core/layout_api.php Diff File