by theodore » Wed Dec 26, 2012 10:30 am
folks, leave it!
I FOUND IT!!
The matter was not to that recordRecommendation function, but to the otherone with same name!
I just change as follows:
if (!$reviewerSubmission->getCancelled()) {
if (ReviewerAction::recordRecommendation($reviewerSubmission, $recommendation, Request::getUserVar('send'))) {
Request::redirect(null, null, 'submission', $reviewId);
}
} else {
Request::redirect(null, null, 'submission', $reviewId);
}
to the following:
if (ReviewerAction::recordRecommendation($reviewerSubmission, $recommendation, true)) {
Request::redirect(null, null, 'submission', $reviewId);
}
that's all! The same way to all similar functions.
hope it will help many others.
cheers!