--- loncom/interface/loncreateuser.pm 2009/03/09 05:25:40 1.286 +++ loncom/interface/loncreateuser.pm 2009/04/04 20:06:37 1.288 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Create a user # -# $Id: loncreateuser.pm,v 1.286 2009/03/09 05:25:40 raeburn Exp $ +# $Id: loncreateuser.pm,v 1.288 2009/04/04 20:06:37 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1591,11 +1591,15 @@ sub personal_data_display { } } else { if ($context eq 'selfcreate') { - if ($canmodify{$item}) { - $row .= ''; - $editable ++; + if (($item eq 'permanentemail') && ($newuser eq 'email')) { + $row .= $ccuname; } else { - $hiderow = 1; + if ($canmodify{$item}) { + $row .= ''; + $editable ++; + } else { + $hiderow = 1; + } } } else { $row .= ''; @@ -3137,14 +3141,14 @@ ENDCCF my $privtext = &Apache::lonnet::plaintext($priv); $r->print(&Apache::loncommon::start_data_table_row(). '