Browse Source

Patch - empty result when show mode && no word

merge-requests/1/head
Erase 4 years ago
parent
commit
7b4529b251
2 changed files with 8 additions and 5 deletions
  1. +8
    -5
      generate.php
  2. +0
    -0
      vendor/RSS-Fusion/system/cache/.gitignore

+ 8
- 5
generate.php View File

@ -28,11 +28,14 @@
if($_POST['filter'] === 'hide'){
$mode = "_badWords";
}
Config::set($mode, array_unique(
array_map('trim',
explode(',', $_POST['words'])
)
));
if(!empty($_POST['words'])){
Config::set($mode, array_unique(
array_map('trim',
explode(',', $_POST['words'])
)
));
}
}
$oFeeds = new FeedReader($_links);


+ 0
- 0
vendor/RSS-Fusion/system/cache/.gitignore View File


Loading…
Cancel
Save