Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6036

Missing IP Address in PM's

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.0
    • 3.0.RC5
    • None
    • PHP Environment:
      Database:

      I have noticed that the author IP address is not appearing in the privmsgs_to table.

      I have found that by changing

      'from_user_ip'            => $user->data['user_ip'], 

      to

      'from_user_ip'            => $user->ip, 

      in includes/ucp/ucp_pm_compose.php (line 608) then the IP address is written to the database.

      (This is the same code that is used in includes/functions_posting.php - line 1588)

            Acyd Burn Meik Sievertsen [X] (Inactive)
            david63 david63
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: