Changeset 1779 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
01/12/08 16:53:18 (8 months ago)
Author:
cfriesen
Message:

Someone on the forum reported the author link doesn't work without tailing the slash.
http://forums.gregarius.net/comments.php?DiscussionID=793&page=1#Item_0

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/wrappers/item.php

    r1736 r1779  
    215215        $ea = preg_replace('/[^a-zA-Z0-9]/','_',$a); 
    216216        if (getConfig('rss.output.usemodrewrite')) { 
    217             $a = "<a href=\"".getPath() ."author/$ea\">$a</a>"; 
     217            $a = "<a href=\"".getPath() ."author/$ea/\">$a</a>"; 
    218218        } else { 
    219219            $a = "<a href=\"".getPath() ."author.php?author=$ea\">$a</a>";