--- loncom/interface/loncommon.pm 2012/12/17 17:35:39 1.1102 +++ loncom/interface/loncommon.pm 2012/12/17 17:45:32 1.1103 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.1102 2012/12/17 17:35:39 raeburn Exp $ +# $Id: loncommon.pm,v 1.1103 2012/12/17 17:45:32 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -13254,7 +13254,7 @@ sub commit_studentrole { $result = $modify_section_result; } elsif ($secchange == 1) { if ($oldsec eq '') { - $$logmsg .= &mt('Error when attempting to expire existing role without a section for [_1] in course [_3] -error: ',$uname,$cid).' '.$expire_role_result.$linefeed; + $$logmsg .= &mt('Error when attempting to expire existing role without a section for [_1] in course [_2] -error: ',$uname,$cid).' '.$expire_role_result.$linefeed; } else { $$logmsg .= &mt('Error when attempting to expire existing role for [_1] in section [_2] in course [_3] -error: ',$uname,$oldsec,$cid).' '.$expire_role_result.$linefeed; }