Paging back to first page broken

I came across a problem when paging back to the first page of albums on a subdomain install with mod rerwrite. The url for the page 1 link (and prev link when on page 2) is blank. This takes the user to the current page rather than to the first page. I think the url should be to WEBPATH + /.

I fixed this on line 315 in template-functions.php. Not sure if its best to put the / in the ternary or up front.

I think 317 should be ok for non mod rewrite installs.

Comments

Sign In or Register to comment.