X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiTag.php;h=c9f6db3994b2f0a7cf557b4ddf56e53490119537;hb=df240f953745fdee98b04edb85edeb49ebea3854;hp=9304c2b414cbc6e677e477b731b4485e786aa5de;hpb=b3f0565302d6923e49074a4a5efdeb97f120423f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiTag.php b/includes/api/ApiTag.php index 9304c2b414..c9f6db3994 100644 --- a/includes/api/ApiTag.php +++ b/includes/api/ApiTag.php @@ -39,7 +39,7 @@ class ApiTag extends ApiBase { // Check if user can add tags if ( $params['tags'] ) { $ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user ); - if ( !$ableToTag->isOk() ) { + if ( !$ableToTag->isOK() ) { $this->dieStatus( $ableToTag ); } }