Resolve IP-TODO (SMF)
authorTim Düsterhus <timwolla@bastelstu.be>
Sun, 15 Sep 2013 19:05:43 +0000 (21:05 +0200)
committerTim Düsterhus <timwolla@bastelstu.be>
Sun, 15 Sep 2013 19:05:43 +0000 (21:05 +0200)
files/lib/system/exporter/SMF2xExporter.class.php

index 586818b1c45ea1827dc0ecedd4fd855645bff212..b9296b28b3df4817df0719d3dbeb4ee8f6a47944 100644 (file)
@@ -248,7 +248,7 @@ class SMF2xExporter extends AbstractExporter {
                                'banned' => 0, // TODO: banned
                                'banReason' => '',
                                'activationCode' => $row['validation_code'] ? UserRegistrationUtil::getActivationCode() : 0, // smf's codes are strings
-                               'registrationIpAddress' => '', // TODO: Find out whether and where this is saved
+                               'registrationIpAddress' => $row['member_ip'], // member_ip2 is HTTP_X_FORWARDED_FOR
                                'signature' => $row['signature'],
                                'signatureEnableBBCodes' => 1,
                                'signatureEnableHtml' => 0,