Skip to content

Commit

Permalink
Add more rules
Browse files Browse the repository at this point in the history
  • Loading branch information
asiacny authored May 18, 2018
1 parent 0c05f0a commit 13f4556
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function videoCategories($apikey=APIKEY,$regionCode=GJ_CODE){
$items = $ret['items'];
if (strtolower($regionCode) == 'tw') {
return array_filter($items, function($v){
return array_search($v['id'], ['18','33','37','38','41','42']) === FALSE;
return array_search($v['id'], ['18','21','31','32','33','35','36','37','38','39','41','42']) === FALSE;
});
}
return $items;
Expand Down

0 comments on commit 13f4556

Please sign in to comment.