plugins/Newsboy.php
changeset 14 a5263dadedf3
parent 13 4d8ce84092c9
child 15 f0cf0b512fbb
--- a/plugins/Newsboy.php	Thu Apr 16 20:35:28 2009 -0400
+++ b/plugins/Newsboy.php	Thu Apr 16 22:09:08 2009 -0400
@@ -448,7 +448,7 @@
         }
         if ( $trimmed )
         {
-          $link = ' <a href="' . makeUrlNS('NewsBoy', $row['urlname'], false, true) . '">Read more...</a>';
+          $link = ' <a href="' . nb_make_article_url($row['urlname'], $row['name']) . '">Read more...</a>';
           $content = preg_replace('/(.+?)<\/(p|ul|table|div|pre)>([\s]*?)$/Usi', '\\1' . $link . '</\\2>\\3', $content, 1);
           if ( !strstr($content, $link) )
           {