Avoid fatals when the filter tags is empty
Bug: T194164 Change-Id: I418cbe2259e7c1622a58a4a310a3cd56873f16c3
This commit is contained in:
parent
31c35c9fb6
commit
2589076e3b
1 changed files with 4 additions and 1 deletions
|
|
@ -836,7 +836,10 @@ class ChangeTags {
|
|||
break;
|
||||
};
|
||||
}
|
||||
$conds['ct_tag_id'] = $filterTagIds;
|
||||
|
||||
if ( $filterTagIds !== [] ) {
|
||||
$conds['ct_tag_id'] = $filterTagIds;
|
||||
}
|
||||
} else {
|
||||
$conds['ct_tag'] = $filter_tag;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue