Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: possible error in topic_link() function


C Bog
Member

@bogdancismariu

i wanted to modify my template, in order to send the user to the last page of the selected topic. (this was before i discovered the topic_last_post_link() function).

in order to do this, i manually computed the last page number and send it to topic_link() through the $page parameter. nothing happened so i looked at the code and found the error i’ve mentioned. after replacing that line with the one i’ve suggested, everything seemed ok.

any thoughts?

Skip to toolbar