dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version from rc.0 to rc.2
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiTag.php
diff --git
a/includes/api/ApiTag.php
b/includes/api/ApiTag.php
index
76c6762
..
c9f6db3
100644
(file)
--- a/
includes/api/ApiTag.php
+++ b/
includes/api/ApiTag.php
@@
-37,9
+37,9
@@
class ApiTag extends ApiBase {
}
// Check if user can add tags
}
// Check if user can add tags
- if (
count( $params['tags'] )
) {
+ if (
$params['tags']
) {
$ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user );
$ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user );
- if ( !$ableToTag->isO
k
() ) {
+ if ( !$ableToTag->isO
K
() ) {
$this->dieStatus( $ableToTag );
}
}
$this->dieStatus( $ableToTag );
}
}