coldstone Global Moderator
     member is offline
![[avatar] [avatar]](http://xergs.doubtfulguest.net/images/avatar.png)
![[homepage] [homepage]](http://s2.images.proboards.com/buttons/www_sm.gif) Joined: Aug 2006 Posts: 816 Karma: 18 |  | GM 1.6.1 Won't Preview/Post unless Protect Author « Thread Started on Dec 12, 2006, 10:44pm » | |
Versions Affected: GreyMatter 1.6.1 Severity: Minor (loss of major functionality, but no code change fix) Issue Description: When posters Preview a comment and then attempt to post it, GM will report an error that several fields were not filled in.
Resolution: To fix this defect without modifying the code, simply make sure the 'Protect Author Name' option is set to Yes in the Configurations Screen.
To fix the code, modify the gm-comments.cgi file. Around line 310. From:
Code:| $previewcommentauthor = $IN{'newcommentauthor_org'}; |
|
To:
Code:$previewcommentauthor = $IN{'newcommentauthor'}; if( $protectauthorname eq Gm_Constants::YES ){ $previewcommentauthor = $IN{'newcommentauthor_org'}; } |
|
This will be fixed in GM 1.7.1
| |
|