امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
The
stringToBinary` function which does not support a string-based IP.
PHP:
IpRepository::logIp is document as supporting string or binary IP, but \XFEntity\Ip::verifyIp only supports a string ip due to the use of the `stringToBinary` function which does not support a string-based IP.
PHP:
کد:
/**
...
* @param string $ip String IP representation; binary version also supported
...
*/
public function logIp($userId, $ip, $contentType, $contentId, $action = '')
