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

index 0da2a9a..400914a 100644 (file)
@@ -38,7 +38,7 @@ function file_storage_news() {
                              'course'=>$system_courses[$row['owner_id']]['title'],
                              'alt'=>_AT('download'),
                              'thumb'=>'images/application_get.png', 
-                             'link'=>'<a href="bounce.php?course='.$row['owner_id'].'&p='.urlencode('mods/_standard/file_storage/index.php?download=1'.SEP.'files[]='. $row['file_id']).'"'.
+                             'link'=>'<a href="bounce.php?course='.$row['owner_id'].SEP.'p='.urlencode('mods/_standard/file_storage/index.php?download=1'.SEP.'files[]='. $row['file_id']).'"'.
                          (strlen($filetext) > SUBLINK_TEXT_LEN ? ' title="'.AT_print($filetext, 'input.text').'"' : '') .'>'. 
                          AT_print(validate_length($filetext, SUBLINK_TEXT_LEN, VALIDATE_LENGTH_FOR_DISPLAY), 'input.text') .'</a>');
                }