Commit info for scoop/lib/Scoop/Comments:

Modified Files:
	Post.pm 
Log Message:
Bug #33. Spellchecker forgets setting.
--hulver


Index: Post.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Comments/Post.pm,v
retrieving revision 1.67
retrieving revision 1.68
diff -r1.67 -r1.68
256,257c256,260
< 		my $checked = ($spellcheck || $S->spellcheck_default())
< 			? ' CHECKED' : '';
---
>                 # We will only have a formkey if they have already used the submit form.  
> 		# We only want to set the default spellcheck the first time they submit
> 		# We don't want to override the setting.
> 		$spellcheck = $S->spellcheck_default() unless ($S->{CGI}->param('formkey'));
> 		my $checked = ($spellcheck) ? ' CHECKED' : '';