--- loncom/homework/lonhomework.pm 2024/12/13 12:08:30 1.390 +++ loncom/homework/lonhomework.pm 2025/01/05 21:53:42 1.392 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.390 2024/12/13 12:08:30 raeburn Exp $ +# $Id: lonhomework.pm,v 1.392 2025/01/05 21:53:42 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1989,6 +1989,7 @@ sub do_ltipassback { } undef(@Apache::lonhomework::ltipassback); } + return OK; } sub run_passback { @@ -2083,7 +2084,7 @@ sub run_passback { } $value=~s/\&$//; &Apache::lonnet::courselog(&escape($linkuri).':'.$uname.':'.$udom.':EXPORT:'.$value); - &Apache::lonnet::cstore({'score' => $score},$skey,$namespace,$udom,$uname,'',$ip,1); + &Apache::lonnet::store_userdata({'score' => $score},$skey,$namespace,$udom,$uname); } } else { if ($item->{'linkprot'}) {