[LON-CAPA-cvs] cvs: loncom /interface lonmsg.pm

bisitz bisitz at source.lon-capa.org
Mon May 7 13:34:11 EDT 2012


bisitz		Mon May  7 17:34:11 2012 EDT

  Modified files:              
    /loncom/interface	lonmsg.pm 
  Log:
  Follow up lonpubdir.pm 1.143:
  - Bug 1320: Corrected URL matching to decide whether bombs should be displayed or not in CSTR.
  Bomb link in resource row shows list of bombs again now.
  
  
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.232 loncom/interface/lonmsg.pm:1.233
--- loncom/interface/lonmsg.pm:1.232	Sat Mar  5 21:32:02 2011
+++ loncom/interface/lonmsg.pm	Mon May  7 17:34:11 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging
 #
-# $Id: lonmsg.pm,v 1.232 2011/03/05 21:32:02 raeburn Exp $
+# $Id: lonmsg.pm,v 1.233 2012/05/07 17:34:11 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -622,6 +622,7 @@
 sub retrieve_author_res_msg {
     my $url=shift;
     $url=&Apache::lonnet::declutter($url);
+    $url=~s/^priv\///; # Respect new authorspace path (BZ 1320)
     my ($domain,$author)=($url=~/^($match_domain)\/($match_username)\//);
     my %errormsgs=&Apache::lonnet::dump('nohist_res_msgs',$domain,$author);
     my $msgs='';




More information about the LON-CAPA-cvs mailing list