vanillaforums/Garden — pull request #1751 by chuck911 (2013-12-12 15:33:45+00:00)
Title: fix IpAddress()

you call `GetValueFrom` function to get some server variable, and `GetValueFrom ` lookup values form `$this->_RequestArguments`, but `$this->_RequestArguments` is initialized by `$this->WithArgs(Gdn_Request::INPUT_SERVER)` or `FromEnvironment()` . So you has to call `$this->WithArgs(Gdn_Request::INPUT_SERVER)` before here. Or the IpAddress() may return '0.0.0.1' ;