Index: branches/5.2.x/units/posts/post_eh.php =================================================================== diff -u -N -r15249 -r15567 --- branches/5.2.x/units/posts/post_eh.php (.../post_eh.php) (revision 15249) +++ branches/5.2.x/units/posts/post_eh.php (.../post_eh.php) (revision 15567) @@ -1,6 +1,6 @@ SetDBField('Modified_date', $now); $object->SetDBField('Modified_time', $now); - $object->SetDBField('IPAddress', $_SERVER['REMOTE_ADDR']); + $object->SetDBField('IPAddress', $this->Application->getClientIp()); $sql = 'SELECT Username FROM ' . TABLE_PREFIX . 'Users