X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryTags.php;h=f104383ae45687a6ad412d664c5154f7777dbbf3;hb=529fc12d2ad2032337594389448fdb5b55802830;hp=ed5fe8a5c3958bac14be2a90dd92444361a0299d;hpb=c2adecb31b16a36efdb509a575533c7f103a0576;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryTags.php b/includes/api/ApiQueryTags.php index ed5fe8a5c3..f104383ae4 100644 --- a/includes/api/ApiQueryTags.php +++ b/includes/api/ApiQueryTags.php @@ -85,7 +85,7 @@ class ApiQueryTags extends ApiQueryBase { } if ( $fld_hitcount ) { - $tag['hitcount'] = intval( $tagHitcounts[$tagName] ); + $tag['hitcount'] = (int)$tagHitcounts[$tagName]; } $isSoftware = isset( $softwareDefinedTags[$tagName] );