MantisBT: master f838e89d

Author Committer Branch Timestamp Parent
Dawit Ayalew dhx master 2010-02-10 01:03 master 6dc35105
Affected Issues  0011482: [patch] print_page_links/print_page_number: allow ? in $p_page parameter
Changeset

Fix 0011482: Fix delimiter for links generated with print_page_link[s]

The functions print_page_link/print_page_links take a URL and add extra
parameters to the end of the URL for page navigation. The problem is
that plugin pages already contain parameters. Thus we shouldn't assume
that URLs passed to these functions don't already contain parameters.

This patch checks for existing parameters and if any are found, page
navigation parameters are appended to the end with an ampersand
delimiter instead of question mark.

Signed-off-by: David Hicks hickseydr@optusnet.com.au

mod - core/print_api.php Diff File