I have tried to use this mod to add the title into the email message the reviewer gets. I thus inserted the sub into the bottom of the admin_html.cgi file and the other bit into the &load_template refering to the review-add.txt file. Then when a review is validated the email has this in it:
HASH(0xe93c04)
I think my error is in this bit, let me know if I have done something wrong:
Title => &get_title ($rec{'LinkID'})
});
HASH(0xe93c04)
I think my error is in this bit, let me know if I have done something wrong:
Code:
my $msg = &load_template ('review-add.txt', \%link, { Title => &get_title ($rec{'LinkID'})
});