replace hardcode ampersaned with SEP
authorgreg gay <ggay@ocad.ca>
Thu, 25 Aug 2011 19:53:34 +0000 (19:53 -0000)
committergreg gay <ggay@ocad.ca>
Thu, 25 Aug 2011 19:53:34 +0000 (19:53 -0000)
docs/mods/_standard/forums/module_news.php

index 358e688..8d81d68 100644 (file)
@@ -41,7 +41,7 @@ function forums_news() {
                               'alt'=>_AT('forum'),
                               'thumb'=>'images/pin.png',
                               'course'=>$system_courses[$row['course_id']]['title'],
-                              'link'=>'<a href="bounce.php?course='.$row['course_id'].'&p='.urlencode('mods/_standard/forums/forum/index.php?fid='.$forum_obj['forum_id']).'"'.
+                              'link'=>'<a href="bounce.php?course='.$row['course_id'].SEP.'p='.urlencode('mods/_standard/forums/forum/index.php?fid='.$forum_obj['forum_id']).'"'.
                               (strlen($link_title) > SUBLINK_TEXT_LEN ? ' title="'.AT_print($link_title, 'forums.title').'"' : '') .'>'. 
                               AT_print(validate_length($link_title, SUBLINK_TEXT_LEN, VALIDATE_LENGTH_FOR_DISPLAY), 'forums.title') .'</a>');
                         }