X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/cotisations/rappels.php?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialWantedcategories.php;h=d323c9e2b9b31d81e846a28c3f5278d746341d8c;hb=485f66f1744fea056e20a5bef619989bf1749202;hp=fc0c3123e32a6ec94e6e2588cc253aeb67457873;hpb=b191e5e860f24e1dd05e3d3d782364e4ea75b176;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialWantedcategories.php b/includes/specials/SpecialWantedcategories.php index fc0c3123e3..d323c9e2b9 100644 --- a/includes/specials/SpecialWantedcategories.php +++ b/includes/specials/SpecialWantedcategories.php @@ -103,9 +103,7 @@ class WantedCategoriesPage extends WantedQueryPage { } else { $plink = $this->getLinkRenderer()->makeLink( $nt, $text ); - $currentValue = isset( $this->currentCategoryCounts[$result->title] ) - ? $this->currentCategoryCounts[$result->title] - : 0; + $currentValue = $this->currentCategoryCounts[$result->title] ?? 0; $cachedValue = intval( $result->value ); // T76910 // If the category has been created or emptied since the list was refreshed, strike it