Re: possible error in topic_link() function
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
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.