Subversion Repositories wimsdev

Rev

Rev 16749 | Rev 18056 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16749 Rev 17457
Line 467... Line 467...
467
{
467
{
468
  if(score_status<0 || score_statussheet!=sheet
468
  if(score_status<0 || score_statussheet!=sheet
469
     || score_statusisexam!=isexam) {
469
     || score_statusisexam!=isexam) {
470
    score_statussheet=sheet; score_statusisexam=isexam;
470
    score_statussheet=sheet; score_statusisexam=isexam;
471
    score_status=_getscorestatus(classe,sheet); score_isexam=0;
471
    score_status=_getscorestatus(classe,sheet); score_isexam=0;
472
    if(score_status==1 && (cmd_type==cmd_new || cmd_type==cmd_renew
472
    if(score_status!=0 && (cmd_type==cmd_new || cmd_type==cmd_renew
473
               || isexam)) {
473
               || isexam)) {
474
      char *p;
474
      char *p;
475
      p=getvar("wims_scorereg");
475
      p=getvar("wims_scorereg");
476
      if(p==NULL || strcmp(p,"suspend")!=0)
476
      if(p==NULL || strcmp(p,"suspend")!=0)
477
         setvar("wims_scoring","pending");
477
         setvar("wims_scoring","pending");