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

www lon-capa-cvs@mail.lon-capa.org
Wed, 09 Nov 2005 11:41:03 -0000


www		Wed Nov  9 06:41:03 2005 EDT

  Modified files:              
    /loncom/interface	lonfeedback.pm 
  Log:
  Make nicknames work again in discussions
  
  
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.171 loncom/interface/lonfeedback.pm:1.172
--- loncom/interface/lonfeedback.pm:1.171	Tue Nov  1 10:59:18 2005
+++ loncom/interface/lonfeedback.pm	Wed Nov  9 06:41:02 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Feedback
 #
-# $Id: lonfeedback.pm,v 1.171 2005/11/01 15:59:18 www Exp $
+# $Id: lonfeedback.pm,v 1.172 2005/11/09 11:41:02 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1166,11 +1166,11 @@
 #    $$screenname=&Apache::loncommon::screenname(
 #                                        $$contrib{$idx.':sendername'},
 #                                        $$contrib{$idx.':senderdomain'});
-#    $$plainname=&Apache::loncommon::nickname(
-#                                        $$contrib{$idx.':sendername'},
-#                                        $$contrib{$idx.':senderdomain'});
-    ($$screenname,$$plainname)=($$contrib{$idx.':screenname'},
-				$$contrib{$idx.':plainname'});
+    $$plainname=&Apache::loncommon::nickname(
+                                        $$contrib{$idx.':sendername'},
+                                        $$contrib{$idx.':senderdomain'});
+    $$screenname=$$contrib{$idx.':screenname'};
+
     my $sender=&Apache::loncommon::aboutmewrapper(
                                  $$plainname,
                                  $$contrib{$idx.':sendername'},