--- loncom/lti/ltiutils.pm 2017/12/07 15:36:25 1.1 +++ loncom/lti/ltiutils.pm 2017/12/09 16:24:03 1.2 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Utility functions for managing LON-CAPA LTI interactions # -# $Id: ltiutils.pm,v 1.1 2017/12/07 15:36:25 raeburn Exp $ +# $Id: ltiutils.pm,v 1.2 2017/12/09 16:24:03 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -290,7 +290,7 @@ sub verify_lis_item { if ($expected_sig eq $sigrec) { return 1; } else { - $errors->{16} = 1; + $errors->{17} = 1; } } elsif ($context eq 'roster') { my $uniqid = $digsymb.':::'.$cdom.'_'.$cnum; @@ -298,14 +298,14 @@ sub verify_lis_item { if ($expected_sig eq $sigrec) { return 1; } else { - $errors->{17} = 1; + $errors->{18} = 1; } } } else { - $errors->{18} = 1; + $errors->{19} = 1; } } else { - $errors->{19} = 1; + $errors->{20} = 1; } return; }