1. Open up the Ratings folder
2. Open up the Admin folder
3. Open the admin.lib.pl file
4. Scroll down until you see:
#############################################################
#
# UPDATE UNAPPROVED COMMENTS
#
#############################################################
5. Counting down 33 lines including empty lines. you will see:
if (-e "$FullPath/$DATFLE/$FORM{'ratingID'}/comments.txt" and $approved) {
&create_file("$FullPath/$DATFLE/$FORM{'ratingID'}/comments.txt", @approved_comments);
}
6. Delete that whole statement and replace it with this:
&create_file("$FullPath/$DATFLE/$FORM{'ratingID'}/comments.txt", @approved_comments) if ($approved);
7. Save and Close file.
Finished
|