X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiTag.php;h=c9f6db3994b2f0a7cf557b4ddf56e53490119537;hb=362a962c8db517f435843af45f0747ead6878252;hp=9304c2b414cbc6e677e477b731b4485e786aa5de;hpb=24ae22c2d274d83e74858eba02f493187d008197;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 ); } }