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
Merge "Parser: Add guessSectionNameFromStrippedText() and refactor"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiRevisionDelete.php
diff --git
a/includes/api/ApiRevisionDelete.php
b/includes/api/ApiRevisionDelete.php
index
9d71a7d
..
5a51b28
100644
(file)
--- a/
includes/api/ApiRevisionDelete.php
+++ b/
includes/api/ApiRevisionDelete.php
@@
-47,7
+47,7
@@
class ApiRevisionDelete extends ApiBase {
}
// Check if user can add tags
- if (
count( $params['tags'] )
) {
+ if (
$params['tags']
) {
$ableToTag = ChangeTags::canAddTagsAccompanyingChange( $params['tags'], $user );
if ( !$ableToTag->isOK() ) {
$this->dieStatus( $ableToTag );