Open /includes/classes/class.review.php, look for:
Code: Select all
// Save the review in the database
$newReview = array(
"revproductid" => (int)$reviewPostData['product_id'],
"revfromname" => $reviewPostData['revfromname'],
"revdate" => time(),
"revrating" => max(1, min(5, $reviewPostData['revrating'])),
"revtext" => $reviewPostData['revtext'],
"revtitle" => $reviewPostData['revtitle'],
"revstatus" => $status
);
Code: Select all
// Save the review in the database
$newReview = array(
"revproductid" => (int)$reviewPostData['product_id'],
"revfromname" => $reviewPostData['revfromname'],
"revdate" => time(),
"revrating" => max(1, min(5, $reviewPostData['revrating'])),
"revtext" => $reviewPostData['revtext'],
"revtitle" => $reviewPostData['revtitle'],
"revstatus" => $status,
"reviewip" => getIp()
);