--- loncom/homework/lonhomework.pm 2024/11/21 07:26:01 1.384 +++ loncom/homework/lonhomework.pm 2024/12/03 23:20:59 1.385 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.384 2024/11/21 07:26:01 raeburn Exp $ +# $Id: lonhomework.pm,v 1.385 2024/12/03 23:20:59 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -2026,7 +2026,7 @@ sub do_ltipassback { if ($sent) { if ($code == 200) { if ($item->{'linkprot'}) { - my $key = join("\0",($linkuri,$linkprotector,$scope)); + my $skey = join("\0",($linkuri,$linkprotector,$scope)); my $namespace = $cdom.'_'.$cnum.'_lp_passback'; my $store = { 'score' => $score, @@ -2046,7 +2046,7 @@ sub do_ltipassback { } $value=~s/\&$//; &Apache::lonnet::courselog(&escape($linkuri).':'.$uname.':'.$udom.':EXPORT:'.$value); - &Apache::lonnet::cstore({'score' => $score},$key,$namespace,$udom,$uname,'',$ip,1); + &Apache::lonnet::cstore({'score' => $score},$skey,$namespace,$udom,$uname,'',$ip,1); } } else { if ($item->{'linkprot'}) {