امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
PHP:
This means the
It doesn't make much sense to gate this behind a profile visibility check, as it is handy for...
Read more
کد:
public function actionReport(ParameterBag $params)
{
$user = $this->assertViewableUser($params->user_id);
if (!$user->canBeReported($error))
assertViewableUser is being called with $basicProfileOnly = falseThis means the
members/report route only works if the user's privacy settings allow accessing the full profile page.It doesn't make much sense to gate this behind a profile visibility check, as it is handy for...
Read more
