Index: branches/5.3.x/core/units/helpers/rating_helper.php =================================================================== diff -u -N -r15483 -r15677 --- branches/5.3.x/core/units/helpers/rating_helper.php (.../rating_helper.php) (revision 15483) +++ branches/5.3.x/core/units/helpers/rating_helper.php (.../rating_helper.php) (revision 15677) @@ -1,6 +1,6 @@ $object->GetID(), 'RatingValue' => $rating, - 'IPAddress' => $_SERVER['REMOTE_ADDR'], + 'IPAddress' => $this->Application->getClientIp(), 'CreatedOn' => adodb_mktime(), ); $this->Conn->doInsert($fields_hash, TABLE_PREFIX.'CatalogRatings');