[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

Guy Albertelli II guy@albertelli.com
Mon, 12 May 2003 15:05:21 -0400 (EDT)


Hi Jeremy,



>   Fix bug #628 for nav maps, honoring the problemstatus flag, assuming
>   'No" is the value that turns that off and everything else means "Yes".

Can you do a case insensitive comparison?

rather than:
> +    my $suppressFeedback = $self->parmval("problemstatus", $part) eq 'No';

do:
> +    my $suppressFeedback = lc($self->parmval("problemstatus", $part)) eq 'No';


-- 
guy@albertelli.com  LON-CAPA Developer  0-7-6-9-