--- db/prgsrc/updatedb.pl 2003/04/14 20:06:59 1.36 +++ db/prgsrc/updatedb.pl 2004/01/10 21:07:38 1.38 @@ -28,7 +28,7 @@ The database, user and password are hard Dmitry Rubinstein -=head1 $Id: updatedb.pl,v 1.36 2003/04/14 20:06:59 roma7 Exp $ +=head1 $Id: updatedb.pl,v 1.38 2004/01/10 21:07:38 boris Exp $ =cut @@ -372,10 +372,28 @@ MAIN: next; } + + if ($key =~ /Зач[её]т/) { + &UpdateQuestion($dbh, $QuestionId, "PassCriteria", $value); + next; + } + + + if ($key =~ /Комментари/) { &UpdateQuestion($dbh, $QuestionId, "Comments", $value); next; } + + if ($key =~ /Вид/) { + if ($value =~ /^\s*Д\s*$/) {#Questions Д are really ЧД... + $value = "ДЧ"; + } + &UpdateQuestion($dbh, $QuestionId, "Type", $value); + next; + } + + my @Fields = grep { $key =~ /$_/ } keys %QuestionFields;