--- loncom/interface/londocs.pm 2011/12/21 23:23:08 1.469
+++ loncom/interface/londocs.pm 2011/12/25 18:19:38 1.470
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.469 2011/12/21 23:23:08 www Exp $
+# $Id: londocs.pm,v 1.470 2011/12/25 18:19:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2204,7 +2204,8 @@ END
if ($url=~m{/adm/coursedocs}) {
$line.='';
} elsif ($url) {
- $line.=&Apache::loncommon::modal_link($url.'&inhibitmenu=yes','',600,500);
+ $line.=&Apache::loncommon::modal_link($url.(($url=~/\?/)?'&':'?').'inhibitmenu=yes',
+ '',600,500);
} else {
$line.='';
}
@@ -2212,7 +2213,8 @@ END
if ($url=~m{/adm/coursedocs}) {
$line.=''.$title.'';
} elsif ($url) {
- $line.=&Apache::loncommon::modal_link($url.'&inhibitmenu=yes',$title,600,500);
+ $line.=&Apache::loncommon::modal_link($url.(($url=~/\?/)?'&':'?').'inhibitmenu=yes',
+ $title,600,500);
} else {
$line.=$title.' '.$reinit.'';
}